using System;
using System.ComponentModel;
using System.Data;
using System.Windows.Forms;
using C1.Win.C1Input;
using C1.Win.C1TrueDBGrid;
using PCSComPayroll.BO;
using PCSComPayroll.DS;
using PCSComUtils.Common;
using PCSComUtils.Common.BO;
using PCSComUtils.PCSExc;
using PCSUtils.Log;
using PCSUtils.Utils;
using CancelEventArgs = System.ComponentModel.CancelEventArgs;

namespace PCSPayroll.Payroll
{
	/// <summary>
	/// Summary description for PaymentRequestApproval.
	/// </summary>
	public class PaymentRequestApproval : Form
	{
		private Button btnEdit;
		private Button btnClose;
		private Button btnHelp;
		private Button btnSave;
		private Button btnAdd;
		private C1DateEdit dtmTransDate;
		private TextBox txtFCode;
		private TextBox txtTransNo;
		private Button btnTransNo;
		private Button btnGoodsCode;
		private Label lblTransNo;
		private Label lblPostDate;
		private Label lblInvoiceNo;
		private C1TrueDBGrid dgrdData;
		private Label lblProductionLine;
		private TextBox txtProductionLine;
		private Button btnProductionLine;
		private Label lblAvailableAmount;
		private C1NumericEdit txtAvailableAmount;
		/// <summary>
		/// Required designer variable.
		/// </summary>
		private Container components = null;
		public const string THIS = "PCSPayroll.Payroll.PaymentRequestApproval";
		private DataTable dtbGridLayOut;
		private DataSet dstData = new DataSet();
		private EnumAction mFormMode = EnumAction.Default;
		private int intEstimateMasterID = 0;
		private CheckBox chkCompleted;
		private C1DateEdit dtmDate;
		private C1NumericEdit txtTotalRequest;
		private System.Windows.Forms.Label lblCompleteAmount;
		private C1.Win.C1Input.C1NumericEdit txtCompleteAmount;
		private System.Windows.Forms.ComboBox cboRequestType;
		private System.Windows.Forms.Label lblRequestType;
		private Label lblTotalRequest;
		UtilsBO boUtils = new UtilsBO();
		private System.Windows.Forms.Button btnApprove;
		PaymentRequestApprovalBO boPayment = new PaymentRequestApprovalBO();
		private System.Windows.Forms.Button btnDelete;
		DataTable dtbEstimateData = new DataTable();
		bool blnIsCompleted = false;
		bool blnIsApproved = false;
		private C1.Win.C1Input.C1NumericEdit txtTotalApproval;
		private System.Windows.Forms.Label lblTotalApproval;
		decimal decDiffAmount = 0;
		
		public PaymentRequestApproval()
		{
			//
			// Required for Windows Form Designer support
			//
			InitializeComponent();

			//
			// TODO: Add any constructor code after InitializeComponent call
			//
		}

		/// <summary>
		/// Clean up any resources being used.
		/// </summary>
		protected override void Dispose( bool disposing )
		{
			if( disposing )
			{
				if(components != null)
				{
					components.Dispose();
				}
			}
			base.Dispose( disposing );
		}

		#region Windows Form Designer generated code
		/// <summary>
		/// Required method for Designer support - do not modify
		/// the contents of this method with the code editor.
		/// </summary>
		private void InitializeComponent()
		{
			System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(PaymentRequestApproval));
			this.btnEdit = new System.Windows.Forms.Button();
			this.btnClose = new System.Windows.Forms.Button();
			this.btnHelp = new System.Windows.Forms.Button();
			this.btnSave = new System.Windows.Forms.Button();
			this.btnAdd = new System.Windows.Forms.Button();
			this.dtmTransDate = new C1.Win.C1Input.C1DateEdit();
			this.txtFCode = new System.Windows.Forms.TextBox();
			this.txtTransNo = new System.Windows.Forms.TextBox();
			this.btnTransNo = new System.Windows.Forms.Button();
			this.btnGoodsCode = new System.Windows.Forms.Button();
			this.lblTransNo = new System.Windows.Forms.Label();
			this.lblPostDate = new System.Windows.Forms.Label();
			this.lblInvoiceNo = new System.Windows.Forms.Label();
			this.dgrdData = new C1.Win.C1TrueDBGrid.C1TrueDBGrid();
			this.txtProductionLine = new System.Windows.Forms.TextBox();
			this.btnProductionLine = new System.Windows.Forms.Button();
			this.lblProductionLine = new System.Windows.Forms.Label();
			this.lblAvailableAmount = new System.Windows.Forms.Label();
			this.txtAvailableAmount = new C1.Win.C1Input.C1NumericEdit();
			this.chkCompleted = new System.Windows.Forms.CheckBox();
			this.dtmDate = new C1.Win.C1Input.C1DateEdit();
			this.txtTotalRequest = new C1.Win.C1Input.C1NumericEdit();
			this.lblTotalRequest = new System.Windows.Forms.Label();
			this.lblRequestType = new System.Windows.Forms.Label();
			this.lblCompleteAmount = new System.Windows.Forms.Label();
			this.txtCompleteAmount = new C1.Win.C1Input.C1NumericEdit();
			this.cboRequestType = new System.Windows.Forms.ComboBox();
			this.btnApprove = new System.Windows.Forms.Button();
			this.btnDelete = new System.Windows.Forms.Button();
			this.txtTotalApproval = new C1.Win.C1Input.C1NumericEdit();
			this.lblTotalApproval = new System.Windows.Forms.Label();
			((System.ComponentModel.ISupportInitialize)(this.dtmTransDate)).BeginInit();
			((System.ComponentModel.ISupportInitialize)(this.dgrdData)).BeginInit();
			((System.ComponentModel.ISupportInitialize)(this.txtAvailableAmount)).BeginInit();
			((System.ComponentModel.ISupportInitialize)(this.dtmDate)).BeginInit();
			((System.ComponentModel.ISupportInitialize)(this.txtTotalRequest)).BeginInit();
			((System.ComponentModel.ISupportInitialize)(this.txtCompleteAmount)).BeginInit();
			((System.ComponentModel.ISupportInitialize)(this.txtTotalApproval)).BeginInit();
			this.SuspendLayout();
			// 
			// btnEdit
			// 
			this.btnEdit.AccessibleDescription = resources.GetString("btnEdit.AccessibleDescription");
			this.btnEdit.AccessibleName = resources.GetString("btnEdit.AccessibleName");
			this.btnEdit.Anchor = ((System.Windows.Forms.AnchorStyles)(resources.GetObject("btnEdit.Anchor")));
			this.btnEdit.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("btnEdit.BackgroundImage")));
			this.btnEdit.Dock = ((System.Windows.Forms.DockStyle)(resources.GetObject("btnEdit.Dock")));
			this.btnEdit.Enabled = ((bool)(resources.GetObject("btnEdit.Enabled")));
			this.btnEdit.FlatStyle = ((System.Windows.Forms.FlatStyle)(resources.GetObject("btnEdit.FlatStyle")));
			this.btnEdit.Font = ((System.Drawing.Font)(resources.GetObject("btnEdit.Font")));
			this.btnEdit.Image = ((System.Drawing.Image)(resources.GetObject("btnEdit.Image")));
			this.btnEdit.ImageAlign = ((System.Drawing.ContentAlignment)(resources.GetObject("btnEdit.ImageAlign")));
			this.btnEdit.ImageIndex = ((int)(resources.GetObject("btnEdit.ImageIndex")));
			this.btnEdit.ImeMode = ((System.Windows.Forms.ImeMode)(resources.GetObject("btnEdit.ImeMode")));
			this.btnEdit.Location = ((System.Drawing.Point)(resources.GetObject("btnEdit.Location")));
			this.btnEdit.Name = "btnEdit";
			this.btnEdit.RightToLeft = ((System.Windows.Forms.RightToLeft)(resources.GetObject("btnEdit.RightToLeft")));
			this.btnEdit.Size = ((System.Drawing.Size)(resources.GetObject("btnEdit.Size")));
			this.btnEdit.TabIndex = ((int)(resources.GetObject("btnEdit.TabIndex")));
			this.btnEdit.Text = resources.GetString("btnEdit.Text");
			this.btnEdit.TextAlign = ((System.Drawing.ContentAlignment)(resources.GetObject("btnEdit.TextAlign")));
			this.btnEdit.Visible = ((bool)(resources.GetObject("btnEdit.Visible")));
			this.btnEdit.Click += new System.EventHandler(this.btnEdit_Click);
			// 
			// btnClose
			// 
			this.btnClose.AccessibleDescription = resources.GetString("btnClose.AccessibleDescription");
			this.btnClose.AccessibleName = resources.GetString("btnClose.AccessibleName");
			this.btnClose.Anchor = ((System.Windows.Forms.AnchorStyles)(resources.GetObject("btnClose.Anchor")));
			this.btnClose.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("btnClose.BackgroundImage")));
			this.btnClose.DialogResult = System.Windows.Forms.DialogResult.Cancel;
			this.btnClose.Dock = ((System.Windows.Forms.DockStyle)(resources.GetObject("btnClose.Dock")));
			this.btnClose.Enabled = ((bool)(resources.GetObject("btnClose.Enabled")));
			this.btnClose.FlatStyle = ((System.Windows.Forms.FlatStyle)(resources.GetObject("btnClose.FlatStyle")));
			this.btnClose.Font = ((System.Drawing.Font)(resources.GetObject("btnClose.Font")));
			this.btnClose.Image = ((System.Drawing.Image)(resources.GetObject("btnClose.Image")));
			this.btnClose.ImageAlign = ((System.Drawing.ContentAlignment)(resources.GetObject("btnClose.ImageAlign")));
			this.btnClose.ImageIndex = ((int)(resources.GetObject("btnClose.ImageIndex")));
			this.btnClose.ImeMode = ((System.Windows.Forms.ImeMode)(resources.GetObject("btnClose.ImeMode")));
			this.btnClose.Location = ((System.Drawing.Point)(resources.GetObject("btnClose.Location")));
			this.btnClose.Name = "btnClose";
			this.btnClose.RightToLeft = ((System.Windows.Forms.RightToLeft)(resources.GetObject("btnClose.RightToLeft")));
			this.btnClose.Size = ((System.Drawing.Size)(resources.GetObject("btnClose.Size")));
			this.btnClose.TabIndex = ((int)(resources.GetObject("btnClose.TabIndex")));
			this.btnClose.Text = resources.GetString("btnClose.Text");
			this.btnClose.TextAlign = ((System.Drawing.ContentAlignment)(resources.GetObject("btnClose.TextAlign")));
			this.btnClose.Visible = ((bool)(resources.GetObject("btnClose.Visible")));
			this.btnClose.Click += new System.EventHandler(this.btnClose_Click);
			// 
			// btnHelp
			// 
			this.btnHelp.AccessibleDescription = resources.GetString("btnHelp.AccessibleDescription");
			this.btnHelp.AccessibleName = resources.GetString("btnHelp.AccessibleName");
			this.btnHelp.Anchor = ((System.Windows.Forms.AnchorStyles)(resources.GetObject("btnHelp.Anchor")));
			this.btnHelp.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("btnHelp.BackgroundImage")));
			this.btnHelp.Dock = ((System.Windows.Forms.DockStyle)(resources.GetObject("btnHelp.Dock")));
			this.btnHelp.Enabled = ((bool)(resources.GetObject("btnHelp.Enabled")));
			this.btnHelp.FlatStyle = ((System.Windows.Forms.FlatStyle)(resources.GetObject("btnHelp.FlatStyle")));
			this.btnHelp.Font = ((System.Drawing.Font)(resources.GetObject("btnHelp.Font")));
			this.btnHelp.Image = ((System.Drawing.Image)(resources.GetObject("btnHelp.Image")));
			this.btnHelp.ImageAlign = ((System.Drawing.ContentAlignment)(resources.GetObject("btnHelp.ImageAlign")));
			this.btnHelp.ImageIndex = ((int)(resources.GetObject("btnHelp.ImageIndex")));
			this.btnHelp.ImeMode = ((System.Windows.Forms.ImeMode)(resources.GetObject("btnHelp.ImeMode")));
			this.btnHelp.Location = ((System.Drawing.Point)(resources.GetObject("btnHelp.Location")));
			this.btnHelp.Name = "btnHelp";
			this.btnHelp.RightToLeft = ((System.Windows.Forms.RightToLeft)(resources.GetObject("btnHelp.RightToLeft")));
			this.btnHelp.Size = ((System.Drawing.Size)(resources.GetObject("btnHelp.Size")));
			this.btnHelp.TabIndex = ((int)(resources.GetObject("btnHelp.TabIndex")));
			this.btnHelp.Text = resources.GetString("btnHelp.Text");
			this.btnHelp.TextAlign = ((System.Drawing.ContentAlignment)(resources.GetObject("btnHelp.TextAlign")));
			this.btnHelp.Visible = ((bool)(resources.GetObject("btnHelp.Visible")));
			// 
			// btnSave
			// 
			this.btnSave.AccessibleDescription = resources.GetString("btnSave.AccessibleDescription");
			this.btnSave.AccessibleName = resources.GetString("btnSave.AccessibleName");
			this.btnSave.Anchor = ((System.Windows.Forms.AnchorStyles)(resources.GetObject("btnSave.Anchor")));
			this.btnSave.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("btnSave.BackgroundImage")));
			this.btnSave.Dock = ((System.Windows.Forms.DockStyle)(resources.GetObject("btnSave.Dock")));
			this.btnSave.Enabled = ((bool)(resources.GetObject("btnSave.Enabled")));
			this.btnSave.FlatStyle = ((System.Windows.Forms.FlatStyle)(resources.GetObject("btnSave.FlatStyle")));
			this.btnSave.Font = ((System.Drawing.Font)(resources.GetObject("btnSave.Font")));
			this.btnSave.Image = ((System.Drawing.Image)(resources.GetObject("btnSave.Image")));
			this.btnSave.ImageAlign = ((System.Drawing.ContentAlignment)(resources.GetObject("btnSave.ImageAlign")));
			this.btnSave.ImageIndex = ((int)(resources.GetObject("btnSave.ImageIndex")));
			this.btnSave.ImeMode = ((System.Windows.Forms.ImeMode)(resources.GetObject("btnSave.ImeMode")));
			this.btnSave.Location = ((System.Drawing.Point)(resources.GetObject("btnSave.Location")));
			this.btnSave.Name = "btnSave";
			this.btnSave.RightToLeft = ((System.Windows.Forms.RightToLeft)(resources.GetObject("btnSave.RightToLeft")));
			this.btnSave.Size = ((System.Drawing.Size)(resources.GetObject("btnSave.Size")));
			this.btnSave.TabIndex = ((int)(resources.GetObject("btnSave.TabIndex")));
			this.btnSave.Text = resources.GetString("btnSave.Text");
			this.btnSave.TextAlign = ((System.Drawing.ContentAlignment)(resources.GetObject("btnSave.TextAlign")));
			this.btnSave.Visible = ((bool)(resources.GetObject("btnSave.Visible")));
			this.btnSave.Click += new System.EventHandler(this.btnSave_Click);
			// 
			// btnAdd
			// 
			this.btnAdd.AccessibleDescription = resources.GetString("btnAdd.AccessibleDescription");
			this.btnAdd.AccessibleName = resources.GetString("btnAdd.AccessibleName");
			this.btnAdd.Anchor = ((System.Windows.Forms.AnchorStyles)(resources.GetObject("btnAdd.Anchor")));
			this.btnAdd.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("btnAdd.BackgroundImage")));
			this.btnAdd.DialogResult = System.Windows.Forms.DialogResult.Cancel;
			this.btnAdd.Dock = ((System.Windows.Forms.DockStyle)(resources.GetObject("btnAdd.Dock")));
			this.btnAdd.Enabled = ((bool)(resources.GetObject("btnAdd.Enabled")));
			this.btnAdd.FlatStyle = ((System.Windows.Forms.FlatStyle)(resources.GetObject("btnAdd.FlatStyle")));
			this.btnAdd.Font = ((System.Drawing.Font)(resources.GetObject("btnAdd.Font")));
			this.btnAdd.Image = ((System.Drawing.Image)(resources.GetObject("btnAdd.Image")));
			this.btnAdd.ImageAlign = ((System.Drawing.ContentAlignment)(resources.GetObject("btnAdd.ImageAlign")));
			this.btnAdd.ImageIndex = ((int)(resources.GetObject("btnAdd.ImageIndex")));
			this.btnAdd.ImeMode = ((System.Windows.Forms.ImeMode)(resources.GetObject("btnAdd.ImeMode")));
			this.btnAdd.Location = ((System.Drawing.Point)(resources.GetObject("btnAdd.Location")));
			this.btnAdd.Name = "btnAdd";
			this.btnAdd.RightToLeft = ((System.Windows.Forms.RightToLeft)(resources.GetObject("btnAdd.RightToLeft")));
			this.btnAdd.Size = ((System.Drawing.Size)(resources.GetObject("btnAdd.Size")));
			this.btnAdd.TabIndex = ((int)(resources.GetObject("btnAdd.TabIndex")));
			this.btnAdd.Text = resources.GetString("btnAdd.Text");
			this.btnAdd.TextAlign = ((System.Drawing.ContentAlignment)(resources.GetObject("btnAdd.TextAlign")));
			this.btnAdd.Visible = ((bool)(resources.GetObject("btnAdd.Visible")));
			this.btnAdd.Click += new System.EventHandler(this.btnAdd_Click);
			// 
			// dtmTransDate
			// 
			this.dtmTransDate.AcceptsEscape = ((bool)(resources.GetObject("dtmTransDate.AcceptsEscape")));
			this.dtmTransDate.AccessibleDescription = resources.GetString("dtmTransDate.AccessibleDescription");
			this.dtmTransDate.AccessibleName = resources.GetString("dtmTransDate.AccessibleName");
			this.dtmTransDate.ValueIsDbNull = false;
			this.dtmTransDate.Anchor = ((System.Windows.Forms.AnchorStyles)(resources.GetObject("dtmTransDate.Anchor")));
			this.dtmTransDate.AutoSize = ((bool)(resources.GetObject("dtmTransDate.AutoSize")));
			this.dtmTransDate.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("dtmTransDate.BackgroundImage")));
			this.dtmTransDate.BorderStyle = ((System.Windows.Forms.BorderStyle)(resources.GetObject("dtmTransDate.BorderStyle")));
			// 
			// dtmTransDate.Calendar
			// 
			this.dtmTransDate.Calendar.AccessibleDescription = resources.GetString("dtmTransDate.Calendar.AccessibleDescription");
			this.dtmTransDate.Calendar.AccessibleName = resources.GetString("dtmTransDate.Calendar.AccessibleName");
			this.dtmTransDate.Calendar.AnnuallyBoldedDates = ((System.DateTime[])(resources.GetObject("dtmTransDate.Calendar.AnnuallyBoldedDates")));
			this.dtmTransDate.Calendar.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("dtmTransDate.Calendar.BackgroundImage")));
			this.dtmTransDate.Calendar.BoldedDates = ((System.DateTime[])(resources.GetObject("dtmTransDate.Calendar.BoldedDates")));
			this.dtmTransDate.Calendar.CalendarDimensions = ((System.Drawing.Size)(resources.GetObject("dtmTransDate.Calendar.CalendarDimensions")));
			this.dtmTransDate.Calendar.Enabled = ((bool)(resources.GetObject("dtmTransDate.Calendar.Enabled")));
			this.dtmTransDate.Calendar.FirstDayOfWeek = ((System.Windows.Forms.Day)(resources.GetObject("dtmTransDate.Calendar.FirstDayOfWeek")));
			this.dtmTransDate.Calendar.Font = ((System.Drawing.Font)(resources.GetObject("dtmTransDate.Calendar.Font")));
			this.dtmTransDate.Calendar.ImeMode = ((System.Windows.Forms.ImeMode)(resources.GetObject("dtmTransDate.Calendar.ImeMode")));
			this.dtmTransDate.Calendar.MonthlyBoldedDates = ((System.DateTime[])(resources.GetObject("dtmTransDate.Calendar.MonthlyBoldedDates")));
			this.dtmTransDate.Calendar.RightToLeft = ((System.Windows.Forms.RightToLeft)(resources.GetObject("dtmTransDate.Calendar.RightToLeft")));
			this.dtmTransDate.Calendar.ShowClearButton = ((bool)(resources.GetObject("dtmTransDate.Calendar.ShowClearButton")));
			this.dtmTransDate.Calendar.ShowTodayButton = ((bool)(resources.GetObject("dtmTransDate.Calendar.ShowTodayButton")));
			this.dtmTransDate.Calendar.ShowWeekNumbers = ((bool)(resources.GetObject("dtmTransDate.Calendar.ShowWeekNumbers")));
			this.dtmTransDate.CaseSensitive = ((bool)(resources.GetObject("dtmTransDate.CaseSensitive")));
			this.dtmTransDate.Culture = ((int)(resources.GetObject("dtmTransDate.Culture")));
			this.dtmTransDate.CurrentTimeZone = ((bool)(resources.GetObject("dtmTransDate.CurrentTimeZone")));
			this.dtmTransDate.CustomFormat = resources.GetString("dtmTransDate.CustomFormat");
			this.dtmTransDate.DaylightTimeAdjustment = ((C1.Win.C1Input.DaylightTimeAdjustmentEnum)(resources.GetObject("dtmTransDate.DaylightTimeAdjustment")));
			this.dtmTransDate.DisplayFormat.CustomFormat = resources.GetString("dtmTransDate.DisplayFormat.CustomFormat");
			this.dtmTransDate.DisplayFormat.FormatType = ((C1.Win.C1Input.FormatTypeEnum)(resources.GetObject("dtmTransDate.DisplayFormat.FormatType")));
			this.dtmTransDate.DisplayFormat.Inherit = ((C1.Win.C1Input.FormatInfoInheritFlags)(resources.GetObject("dtmTransDate.DisplayFormat.Inherit")));
			this.dtmTransDate.DisplayFormat.NullText = resources.GetString("dtmTransDate.DisplayFormat.NullText");
			this.dtmTransDate.DisplayFormat.TrimEnd = ((bool)(resources.GetObject("dtmTransDate.DisplayFormat.TrimEnd")));
			this.dtmTransDate.DisplayFormat.TrimStart = ((bool)(resources.GetObject("dtmTransDate.DisplayFormat.TrimStart")));
			this.dtmTransDate.Dock = ((System.Windows.Forms.DockStyle)(resources.GetObject("dtmTransDate.Dock")));
			this.dtmTransDate.DropDownFormAlign = ((C1.Win.C1Input.DropDownFormAlignmentEnum)(resources.GetObject("dtmTransDate.DropDownFormAlign")));
			this.dtmTransDate.EditFormat.CustomFormat = resources.GetString("dtmTransDate.EditFormat.CustomFormat");
			this.dtmTransDate.EditFormat.FormatType = ((C1.Win.C1Input.FormatTypeEnum)(resources.GetObject("dtmTransDate.EditFormat.FormatType")));
			this.dtmTransDate.EditFormat.Inherit = ((C1.Win.C1Input.FormatInfoInheritFlags)(resources.GetObject("dtmTransDate.EditFormat.Inherit")));
			this.dtmTransDate.EditFormat.NullText = resources.GetString("dtmTransDate.EditFormat.NullText");
			this.dtmTransDate.EditFormat.TrimEnd = ((bool)(resources.GetObject("dtmTransDate.EditFormat.TrimEnd")));
			this.dtmTransDate.EditFormat.TrimStart = ((bool)(resources.GetObject("dtmTransDate.EditFormat.TrimStart")));
			this.dtmTransDate.EditMask = resources.GetString("dtmTransDate.EditMask");
			this.dtmTransDate.EmptyAsNull = ((bool)(resources.GetObject("dtmTransDate.EmptyAsNull")));
			this.dtmTransDate.Enabled = ((bool)(resources.GetObject("dtmTransDate.Enabled")));
			this.dtmTransDate.ErrorInfo.BeepOnError = ((bool)(resources.GetObject("dtmTransDate.ErrorInfo.BeepOnError")));
			this.dtmTransDate.ErrorInfo.ErrorMessage = resources.GetString("dtmTransDate.ErrorInfo.ErrorMessage");
			this.dtmTransDate.ErrorInfo.ErrorMessageCaption = resources.GetString("dtmTransDate.ErrorInfo.ErrorMessageCaption");
			this.dtmTransDate.ErrorInfo.ShowErrorMessage = ((bool)(resources.GetObject("dtmTransDate.ErrorInfo.ShowErrorMessage")));
			this.dtmTransDate.ErrorInfo.ValueOnError = ((object)(resources.GetObject("dtmTransDate.ErrorInfo.ValueOnError")));
			this.dtmTransDate.Font = ((System.Drawing.Font)(resources.GetObject("dtmTransDate.Font")));
			this.dtmTransDate.FormatType = ((C1.Win.C1Input.FormatTypeEnum)(resources.GetObject("dtmTransDate.FormatType")));
			this.dtmTransDate.GapHeight = ((int)(resources.GetObject("dtmTransDate.GapHeight")));
			this.dtmTransDate.GMTOffset = ((System.TimeSpan)(resources.GetObject("dtmTransDate.GMTOffset")));
			this.dtmTransDate.ImeMode = ((System.Windows.Forms.ImeMode)(resources.GetObject("dtmTransDate.ImeMode")));
			this.dtmTransDate.InitialSelection = ((C1.Win.C1Input.InitialSelectionEnum)(resources.GetObject("dtmTransDate.InitialSelection")));
			this.dtmTransDate.Location = ((System.Drawing.Point)(resources.GetObject("dtmTransDate.Location")));
			this.dtmTransDate.MaskInfo.AutoTabWhenFilled = ((bool)(resources.GetObject("dtmTransDate.MaskInfo.AutoTabWhenFilled")));
			this.dtmTransDate.MaskInfo.CaseSensitive = ((bool)(resources.GetObject("dtmTransDate.MaskInfo.CaseSensitive")));
			this.dtmTransDate.MaskInfo.CopyWithLiterals = ((bool)(resources.GetObject("dtmTransDate.MaskInfo.CopyWithLiterals")));
			this.dtmTransDate.MaskInfo.EditMask = resources.GetString("dtmTransDate.MaskInfo.EditMask");
			this.dtmTransDate.MaskInfo.EmptyAsNull = ((bool)(resources.GetObject("dtmTransDate.MaskInfo.EmptyAsNull")));
			this.dtmTransDate.MaskInfo.ErrorMessage = resources.GetString("dtmTransDate.MaskInfo.ErrorMessage");
			this.dtmTransDate.MaskInfo.Inherit = ((C1.Win.C1Input.MaskInfoInheritFlags)(resources.GetObject("dtmTransDate.MaskInfo.Inherit")));
			this.dtmTransDate.MaskInfo.PromptChar = ((char)(resources.GetObject("dtmTransDate.MaskInfo.PromptChar")));
			this.dtmTransDate.MaskInfo.ShowLiterals = ((C1.Win.C1Input.ShowLiteralsEnum)(resources.GetObject("dtmTransDate.MaskInfo.ShowLiterals")));
			this.dtmTransDate.MaskInfo.StoredEmptyChar = ((char)(resources.GetObject("dtmTransDate.MaskInfo.StoredEmptyChar")));
			this.dtmTransDate.MaxLength = ((int)(resources.GetObject("dtmTransDate.MaxLength")));
			this.dtmTransDate.Name = "dtmTransDate";
			this.dtmTransDate.NullText = resources.GetString("dtmTransDate.NullText");
			this.dtmTransDate.ParseInfo.CaseSensitive = ((bool)(resources.GetObject("dtmTransDate.ParseInfo.CaseSensitive")));
			this.dtmTransDate.ParseInfo.CustomFormat = resources.GetString("dtmTransDate.ParseInfo.CustomFormat");
			this.dtmTransDate.ParseInfo.DateTimeStyle = ((C1.Win.C1Input.DateTimeStyleFlags)(resources.GetObject("dtmTransDate.ParseInfo.DateTimeStyle")));
			this.dtmTransDate.ParseInfo.EmptyAsNull = ((bool)(resources.GetObject("dtmTransDate.ParseInfo.EmptyAsNull")));
			this.dtmTransDate.ParseInfo.ErrorMessage = resources.GetString("dtmTransDate.ParseInfo.ErrorMessage");
			this.dtmTransDate.ParseInfo.FormatType = ((C1.Win.C1Input.FormatTypeEnum)(resources.GetObject("dtmTransDate.ParseInfo.FormatType")));
			this.dtmTransDate.ParseInfo.Inherit = ((C1.Win.C1Input.ParseInfoInheritFlags)(resources.GetObject("dtmTransDate.ParseInfo.Inherit")));
			this.dtmTransDate.ParseInfo.NullText = resources.GetString("dtmTransDate.ParseInfo.NullText");
			this.dtmTransDate.ParseInfo.TrimEnd = ((bool)(resources.GetObject("dtmTransDate.ParseInfo.TrimEnd")));
			this.dtmTransDate.ParseInfo.TrimStart = ((bool)(resources.GetObject("dtmTransDate.ParseInfo.TrimStart")));
			this.dtmTransDate.PasswordChar = ((char)(resources.GetObject("dtmTransDate.PasswordChar")));
			this.dtmTransDate.PostValidation.CaseSensitive = ((bool)(resources.GetObject("dtmTransDate.PostValidation.CaseSensitive")));
			this.dtmTransDate.PostValidation.ErrorMessage = resources.GetString("dtmTransDate.PostValidation.ErrorMessage");
			this.dtmTransDate.PostValidation.Inherit = ((C1.Win.C1Input.PostValidationInheritFlags)(resources.GetObject("dtmTransDate.PostValidation.Inherit")));
			this.dtmTransDate.PostValidation.Validation = ((C1.Win.C1Input.PostValidationTypeEnum)(resources.GetObject("dtmTransDate.PostValidation.Validation")));
			this.dtmTransDate.PostValidation.Values = ((System.Array)(resources.GetObject("dtmTransDate.PostValidation.Values")));
			this.dtmTransDate.PostValidation.ValuesExcluded = ((System.Array)(resources.GetObject("dtmTransDate.PostValidation.ValuesExcluded")));
			this.dtmTransDate.PreValidation.CaseSensitive = ((bool)(resources.GetObject("dtmTransDate.PreValidation.CaseSensitive")));
			this.dtmTransDate.PreValidation.ErrorMessage = resources.GetString("dtmTransDate.PreValidation.ErrorMessage");
			this.dtmTransDate.PreValidation.Inherit = ((C1.Win.C1Input.PreValidationInheritFlags)(resources.GetObject("dtmTransDate.PreValidation.Inherit")));
			this.dtmTransDate.PreValidation.ItemSeparator = resources.GetString("dtmTransDate.PreValidation.ItemSeparator");
			this.dtmTransDate.PreValidation.PatternString = resources.GetString("dtmTransDate.PreValidation.PatternString");
			this.dtmTransDate.PreValidation.RegexOptions = ((C1.Win.C1Input.RegexOptionFlags)(resources.GetObject("dtmTransDate.PreValidation.RegexOptions")));
			this.dtmTransDate.PreValidation.TrimEnd = ((bool)(resources.GetObject("dtmTransDate.PreValidation.TrimEnd")));
			this.dtmTransDate.PreValidation.TrimStart = ((bool)(resources.GetObject("dtmTransDate.PreValidation.TrimStart")));
			this.dtmTransDate.PreValidation.Validation = ((C1.Win.C1Input.PreValidationTypeEnum)(resources.GetObject("dtmTransDate.PreValidation.Validation")));
			this.dtmTransDate.RightToLeft = ((System.Windows.Forms.RightToLeft)(resources.GetObject("dtmTransDate.RightToLeft")));
			this.dtmTransDate.ShowFocusRectangle = ((bool)(resources.GetObject("dtmTransDate.ShowFocusRectangle")));
			this.dtmTransDate.Size = ((System.Drawing.Size)(resources.GetObject("dtmTransDate.Size")));
			this.dtmTransDate.TabIndex = ((int)(resources.GetObject("dtmTransDate.TabIndex")));
			this.dtmTransDate.Tag = ((object)(resources.GetObject("dtmTransDate.Tag")));
			this.dtmTransDate.TextAlign = ((System.Windows.Forms.HorizontalAlignment)(resources.GetObject("dtmTransDate.TextAlign")));
			this.dtmTransDate.TrimEnd = ((bool)(resources.GetObject("dtmTransDate.TrimEnd")));
			this.dtmTransDate.TrimStart = ((bool)(resources.GetObject("dtmTransDate.TrimStart")));
			this.dtmTransDate.UserCultureOverride = ((bool)(resources.GetObject("dtmTransDate.UserCultureOverride")));
			this.dtmTransDate.Value = ((object)(resources.GetObject("dtmTransDate.Value")));
			this.dtmTransDate.VerticalAlign = ((C1.Win.C1Input.VerticalAlignEnum)(resources.GetObject("dtmTransDate.VerticalAlign")));
			this.dtmTransDate.Visible = ((bool)(resources.GetObject("dtmTransDate.Visible")));
			this.dtmTransDate.VisibleButtons = ((C1.Win.C1Input.DropDownControlButtonFlags)(resources.GetObject("dtmTransDate.VisibleButtons")));
			// 
			// txtFCode
			// 
			this.txtFCode.AccessibleDescription = resources.GetString("txtFCode.AccessibleDescription");
			this.txtFCode.AccessibleName = resources.GetString("txtFCode.AccessibleName");
			this.txtFCode.Anchor = ((System.Windows.Forms.AnchorStyles)(resources.GetObject("txtFCode.Anchor")));
			this.txtFCode.AutoSize = ((bool)(resources.GetObject("txtFCode.AutoSize")));
			this.txtFCode.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("txtFCode.BackgroundImage")));
			this.txtFCode.Dock = ((System.Windows.Forms.DockStyle)(resources.GetObject("txtFCode.Dock")));
			this.txtFCode.Enabled = ((bool)(resources.GetObject("txtFCode.Enabled")));
			this.txtFCode.Font = ((System.Drawing.Font)(resources.GetObject("txtFCode.Font")));
			this.txtFCode.ImeMode = ((System.Windows.Forms.ImeMode)(resources.GetObject("txtFCode.ImeMode")));
			this.txtFCode.Location = ((System.Drawing.Point)(resources.GetObject("txtFCode.Location")));
			this.txtFCode.MaxLength = ((int)(resources.GetObject("txtFCode.MaxLength")));
			this.txtFCode.Multiline = ((bool)(resources.GetObject("txtFCode.Multiline")));
			this.txtFCode.Name = "txtFCode";
			this.txtFCode.PasswordChar = ((char)(resources.GetObject("txtFCode.PasswordChar")));
			this.txtFCode.RightToLeft = ((System.Windows.Forms.RightToLeft)(resources.GetObject("txtFCode.RightToLeft")));
			this.txtFCode.ScrollBars = ((System.Windows.Forms.ScrollBars)(resources.GetObject("txtFCode.ScrollBars")));
			this.txtFCode.Size = ((System.Drawing.Size)(resources.GetObject("txtFCode.Size")));
			this.txtFCode.TabIndex = ((int)(resources.GetObject("txtFCode.TabIndex")));
			this.txtFCode.Text = resources.GetString("txtFCode.Text");
			this.txtFCode.TextAlign = ((System.Windows.Forms.HorizontalAlignment)(resources.GetObject("txtFCode.TextAlign")));
			this.txtFCode.Visible = ((bool)(resources.GetObject("txtFCode.Visible")));
			this.txtFCode.WordWrap = ((bool)(resources.GetObject("txtFCode.WordWrap")));
			this.txtFCode.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txtFCode_KeyDown);
			this.txtFCode.Validating += new System.ComponentModel.CancelEventHandler(this.txtFCode_Validating);
			// 
			// txtTransNo
			// 
			this.txtTransNo.AccessibleDescription = resources.GetString("txtTransNo.AccessibleDescription");
			this.txtTransNo.AccessibleName = resources.GetString("txtTransNo.AccessibleName");
			this.txtTransNo.Anchor = ((System.Windows.Forms.AnchorStyles)(resources.GetObject("txtTransNo.Anchor")));
			this.txtTransNo.AutoSize = ((bool)(resources.GetObject("txtTransNo.AutoSize")));
			this.txtTransNo.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("txtTransNo.BackgroundImage")));
			this.txtTransNo.Dock = ((System.Windows.Forms.DockStyle)(resources.GetObject("txtTransNo.Dock")));
			this.txtTransNo.Enabled = ((bool)(resources.GetObject("txtTransNo.Enabled")));
			this.txtTransNo.Font = ((System.Drawing.Font)(resources.GetObject("txtTransNo.Font")));
			this.txtTransNo.ImeMode = ((System.Windows.Forms.ImeMode)(resources.GetObject("txtTransNo.ImeMode")));
			this.txtTransNo.Location = ((System.Drawing.Point)(resources.GetObject("txtTransNo.Location")));
			this.txtTransNo.MaxLength = ((int)(resources.GetObject("txtTransNo.MaxLength")));
			this.txtTransNo.Multiline = ((bool)(resources.GetObject("txtTransNo.Multiline")));
			this.txtTransNo.Name = "txtTransNo";
			this.txtTransNo.PasswordChar = ((char)(resources.GetObject("txtTransNo.PasswordChar")));
			this.txtTransNo.RightToLeft = ((System.Windows.Forms.RightToLeft)(resources.GetObject("txtTransNo.RightToLeft")));
			this.txtTransNo.ScrollBars = ((System.Windows.Forms.ScrollBars)(resources.GetObject("txtTransNo.ScrollBars")));
			this.txtTransNo.Size = ((System.Drawing.Size)(resources.GetObject("txtTransNo.Size")));
			this.txtTransNo.TabIndex = ((int)(resources.GetObject("txtTransNo.TabIndex")));
			this.txtTransNo.Text = resources.GetString("txtTransNo.Text");
			this.txtTransNo.TextAlign = ((System.Windows.Forms.HorizontalAlignment)(resources.GetObject("txtTransNo.TextAlign")));
			this.txtTransNo.Visible = ((bool)(resources.GetObject("txtTransNo.Visible")));
			this.txtTransNo.WordWrap = ((bool)(resources.GetObject("txtTransNo.WordWrap")));
			this.txtTransNo.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txtTransNo_KeyDown);
			this.txtTransNo.Validating += new System.ComponentModel.CancelEventHandler(this.txtTransNo_Validating);
			// 
			// btnTransNo
			// 
			this.btnTransNo.AccessibleDescription = resources.GetString("btnTransNo.AccessibleDescription");
			this.btnTransNo.AccessibleName = resources.GetString("btnTransNo.AccessibleName");
			this.btnTransNo.Anchor = ((System.Windows.Forms.AnchorStyles)(resources.GetObject("btnTransNo.Anchor")));
			this.btnTransNo.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("btnTransNo.BackgroundImage")));
			this.btnTransNo.Dock = ((System.Windows.Forms.DockStyle)(resources.GetObject("btnTransNo.Dock")));
			this.btnTransNo.Enabled = ((bool)(resources.GetObject("btnTransNo.Enabled")));
			this.btnTransNo.FlatStyle = ((System.Windows.Forms.FlatStyle)(resources.GetObject("btnTransNo.FlatStyle")));
			this.btnTransNo.Font = ((System.Drawing.Font)(resources.GetObject("btnTransNo.Font")));
			this.btnTransNo.Image = ((System.Drawing.Image)(resources.GetObject("btnTransNo.Image")));
			this.btnTransNo.ImageAlign = ((System.Drawing.ContentAlignment)(resources.GetObject("btnTransNo.ImageAlign")));
			this.btnTransNo.ImageIndex = ((int)(resources.GetObject("btnTransNo.ImageIndex")));
			this.btnTransNo.ImeMode = ((System.Windows.Forms.ImeMode)(resources.GetObject("btnTransNo.ImeMode")));
			this.btnTransNo.Location = ((System.Drawing.Point)(resources.GetObject("btnTransNo.Location")));
			this.btnTransNo.Name = "btnTransNo";
			this.btnTransNo.RightToLeft = ((System.Windows.Forms.RightToLeft)(resources.GetObject("btnTransNo.RightToLeft")));
			this.btnTransNo.Size = ((System.Drawing.Size)(resources.GetObject("btnTransNo.Size")));
			this.btnTransNo.TabIndex = ((int)(resources.GetObject("btnTransNo.TabIndex")));
			this.btnTransNo.Text = resources.GetString("btnTransNo.Text");
			this.btnTransNo.TextAlign = ((System.Drawing.ContentAlignment)(resources.GetObject("btnTransNo.TextAlign")));
			this.btnTransNo.Visible = ((bool)(resources.GetObject("btnTransNo.Visible")));
			this.btnTransNo.Click += new System.EventHandler(this.btnTransNo_Click);
			// 
			// btnGoodsCode
			// 
			this.btnGoodsCode.AccessibleDescription = resources.GetString("btnGoodsCode.AccessibleDescription");
			this.btnGoodsCode.AccessibleName = resources.GetString("btnGoodsCode.AccessibleName");
			this.btnGoodsCode.Anchor = ((System.Windows.Forms.AnchorStyles)(resources.GetObject("btnGoodsCode.Anchor")));
			this.btnGoodsCode.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("btnGoodsCode.BackgroundImage")));
			this.btnGoodsCode.Dock = ((System.Windows.Forms.DockStyle)(resources.GetObject("btnGoodsCode.Dock")));
			this.btnGoodsCode.Enabled = ((bool)(resources.GetObject("btnGoodsCode.Enabled")));
			this.btnGoodsCode.FlatStyle = ((System.Windows.Forms.FlatStyle)(resources.GetObject("btnGoodsCode.FlatStyle")));
			this.btnGoodsCode.Font = ((System.Drawing.Font)(resources.GetObject("btnGoodsCode.Font")));
			this.btnGoodsCode.Image = ((System.Drawing.Image)(resources.GetObject("btnGoodsCode.Image")));
			this.btnGoodsCode.ImageAlign = ((System.Drawing.ContentAlignment)(resources.GetObject("btnGoodsCode.ImageAlign")));
			this.btnGoodsCode.ImageIndex = ((int)(resources.GetObject("btnGoodsCode.ImageIndex")));
			this.btnGoodsCode.ImeMode = ((System.Windows.Forms.ImeMode)(resources.GetObject("btnGoodsCode.ImeMode")));
			this.btnGoodsCode.Location = ((System.Drawing.Point)(resources.GetObject("btnGoodsCode.Location")));
			this.btnGoodsCode.Name = "btnGoodsCode";
			this.btnGoodsCode.RightToLeft = ((System.Windows.Forms.RightToLeft)(resources.GetObject("btnGoodsCode.RightToLeft")));
			this.btnGoodsCode.Size = ((System.Drawing.Size)(resources.GetObject("btnGoodsCode.Size")));
			this.btnGoodsCode.TabIndex = ((int)(resources.GetObject("btnGoodsCode.TabIndex")));
			this.btnGoodsCode.Text = resources.GetString("btnGoodsCode.Text");
			this.btnGoodsCode.TextAlign = ((System.Drawing.ContentAlignment)(resources.GetObject("btnGoodsCode.TextAlign")));
			this.btnGoodsCode.Visible = ((bool)(resources.GetObject("btnGoodsCode.Visible")));
			this.btnGoodsCode.Click += new System.EventHandler(this.btnGoodsCode_Click);
			// 
			// lblTransNo
			// 
			this.lblTransNo.AccessibleDescription = resources.GetString("lblTransNo.AccessibleDescription");
			this.lblTransNo.AccessibleName = resources.GetString("lblTransNo.AccessibleName");
			this.lblTransNo.Anchor = ((System.Windows.Forms.AnchorStyles)(resources.GetObject("lblTransNo.Anchor")));
			this.lblTransNo.AutoSize = ((bool)(resources.GetObject("lblTransNo.AutoSize")));
			this.lblTransNo.Dock = ((System.Windows.Forms.DockStyle)(resources.GetObject("lblTransNo.Dock")));
			this.lblTransNo.Enabled = ((bool)(resources.GetObject("lblTransNo.Enabled")));
			this.lblTransNo.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
			this.lblTransNo.Font = ((System.Drawing.Font)(resources.GetObject("lblTransNo.Font")));
			this.lblTransNo.ForeColor = System.Drawing.Color.Maroon;
			this.lblTransNo.Image = ((System.Drawing.Image)(resources.GetObject("lblTransNo.Image")));
			this.lblTransNo.ImageAlign = ((System.Drawing.ContentAlignment)(resources.GetObject("lblTransNo.ImageAlign")));
			this.lblTransNo.ImageIndex = ((int)(resources.GetObject("lblTransNo.ImageIndex")));
			this.lblTransNo.ImeMode = ((System.Windows.Forms.ImeMode)(resources.GetObject("lblTransNo.ImeMode")));
			this.lblTransNo.Location = ((System.Drawing.Point)(resources.GetObject("lblTransNo.Location")));
			this.lblTransNo.Name = "lblTransNo";
			this.lblTransNo.RightToLeft = ((System.Windows.Forms.RightToLeft)(resources.GetObject("lblTransNo.RightToLeft")));
			this.lblTransNo.Size = ((System.Drawing.Size)(resources.GetObject("lblTransNo.Size")));
			this.lblTransNo.TabIndex = ((int)(resources.GetObject("lblTransNo.TabIndex")));
			this.lblTransNo.Text = resources.GetString("lblTransNo.Text");
			this.lblTransNo.TextAlign = ((System.Drawing.ContentAlignment)(resources.GetObject("lblTransNo.TextAlign")));
			this.lblTransNo.Visible = ((bool)(resources.GetObject("lblTransNo.Visible")));
			// 
			// lblPostDate
			// 
			this.lblPostDate.AccessibleDescription = resources.GetString("lblPostDate.AccessibleDescription");
			this.lblPostDate.AccessibleName = resources.GetString("lblPostDate.AccessibleName");
			this.lblPostDate.Anchor = ((System.Windows.Forms.AnchorStyles)(resources.GetObject("lblPostDate.Anchor")));
			this.lblPostDate.AutoSize = ((bool)(resources.GetObject("lblPostDate.AutoSize")));
			this.lblPostDate.Dock = ((System.Windows.Forms.DockStyle)(resources.GetObject("lblPostDate.Dock")));
			this.lblPostDate.Enabled = ((bool)(resources.GetObject("lblPostDate.Enabled")));
			this.lblPostDate.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
			this.lblPostDate.Font = ((System.Drawing.Font)(resources.GetObject("lblPostDate.Font")));
			this.lblPostDate.ForeColor = System.Drawing.Color.Maroon;
			this.lblPostDate.Image = ((System.Drawing.Image)(resources.GetObject("lblPostDate.Image")));
			this.lblPostDate.ImageAlign = ((System.Drawing.ContentAlignment)(resources.GetObject("lblPostDate.ImageAlign")));
			this.lblPostDate.ImageIndex = ((int)(resources.GetObject("lblPostDate.ImageIndex")));
			this.lblPostDate.ImeMode = ((System.Windows.Forms.ImeMode)(resources.GetObject("lblPostDate.ImeMode")));
			this.lblPostDate.Location = ((System.Drawing.Point)(resources.GetObject("lblPostDate.Location")));
			this.lblPostDate.Name = "lblPostDate";
			this.lblPostDate.RightToLeft = ((System.Windows.Forms.RightToLeft)(resources.GetObject("lblPostDate.RightToLeft")));
			this.lblPostDate.Size = ((System.Drawing.Size)(resources.GetObject("lblPostDate.Size")));
			this.lblPostDate.TabIndex = ((int)(resources.GetObject("lblPostDate.TabIndex")));
			this.lblPostDate.Text = resources.GetString("lblPostDate.Text");
			this.lblPostDate.TextAlign = ((System.Drawing.ContentAlignment)(resources.GetObject("lblPostDate.TextAlign")));
			this.lblPostDate.Visible = ((bool)(resources.GetObject("lblPostDate.Visible")));
			// 
			// lblInvoiceNo
			// 
			this.lblInvoiceNo.AccessibleDescription = resources.GetString("lblInvoiceNo.AccessibleDescription");
			this.lblInvoiceNo.AccessibleName = resources.GetString("lblInvoiceNo.AccessibleName");
			this.lblInvoiceNo.Anchor = ((System.Windows.Forms.AnchorStyles)(resources.GetObject("lblInvoiceNo.Anchor")));
			this.lblInvoiceNo.AutoSize = ((bool)(resources.GetObject("lblInvoiceNo.AutoSize")));
			this.lblInvoiceNo.Dock = ((System.Windows.Forms.DockStyle)(resources.GetObject("lblInvoiceNo.Dock")));
			this.lblInvoiceNo.Enabled = ((bool)(resources.GetObject("lblInvoiceNo.Enabled")));
			this.lblInvoiceNo.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
			this.lblInvoiceNo.Font = ((System.Drawing.Font)(resources.GetObject("lblInvoiceNo.Font")));
			this.lblInvoiceNo.ForeColor = System.Drawing.Color.Maroon;
			this.lblInvoiceNo.Image = ((System.Drawing.Image)(resources.GetObject("lblInvoiceNo.Image")));
			this.lblInvoiceNo.ImageAlign = ((System.Drawing.ContentAlignment)(resources.GetObject("lblInvoiceNo.ImageAlign")));
			this.lblInvoiceNo.ImageIndex = ((int)(resources.GetObject("lblInvoiceNo.ImageIndex")));
			this.lblInvoiceNo.ImeMode = ((System.Windows.Forms.ImeMode)(resources.GetObject("lblInvoiceNo.ImeMode")));
			this.lblInvoiceNo.Location = ((System.Drawing.Point)(resources.GetObject("lblInvoiceNo.Location")));
			this.lblInvoiceNo.Name = "lblInvoiceNo";
			this.lblInvoiceNo.RightToLeft = ((System.Windows.Forms.RightToLeft)(resources.GetObject("lblInvoiceNo.RightToLeft")));
			this.lblInvoiceNo.Size = ((System.Drawing.Size)(resources.GetObject("lblInvoiceNo.Size")));
			this.lblInvoiceNo.TabIndex = ((int)(resources.GetObject("lblInvoiceNo.TabIndex")));
			this.lblInvoiceNo.Text = resources.GetString("lblInvoiceNo.Text");
			this.lblInvoiceNo.TextAlign = ((System.Drawing.ContentAlignment)(resources.GetObject("lblInvoiceNo.TextAlign")));
			this.lblInvoiceNo.Visible = ((bool)(resources.GetObject("lblInvoiceNo.Visible")));
			// 
			// dgrdData
			// 
			this.dgrdData.AccessibleDescription = resources.GetString("dgrdData.AccessibleDescription");
			this.dgrdData.AccessibleName = resources.GetString("dgrdData.AccessibleName");
			this.dgrdData.AllowAddNew = ((bool)(resources.GetObject("dgrdData.AllowAddNew")));
			this.dgrdData.AllowArrows = ((bool)(resources.GetObject("dgrdData.AllowArrows")));
			this.dgrdData.AllowColMove = ((bool)(resources.GetObject("dgrdData.AllowColMove")));
			this.dgrdData.AllowColSelect = ((bool)(resources.GetObject("dgrdData.AllowColSelect")));
			this.dgrdData.AllowDelete = ((bool)(resources.GetObject("dgrdData.AllowDelete")));
			this.dgrdData.AllowDrag = ((bool)(resources.GetObject("dgrdData.AllowDrag")));
			this.dgrdData.AllowFilter = ((bool)(resources.GetObject("dgrdData.AllowFilter")));
			this.dgrdData.AllowHorizontalSplit = ((bool)(resources.GetObject("dgrdData.AllowHorizontalSplit")));
			this.dgrdData.AllowRowSelect = ((bool)(resources.GetObject("dgrdData.AllowRowSelect")));
			this.dgrdData.AllowSort = ((bool)(resources.GetObject("dgrdData.AllowSort")));
			this.dgrdData.AllowUpdate = ((bool)(resources.GetObject("dgrdData.AllowUpdate")));
			this.dgrdData.AllowUpdateOnBlur = ((bool)(resources.GetObject("dgrdData.AllowUpdateOnBlur")));
			this.dgrdData.AllowVerticalSplit = ((bool)(resources.GetObject("dgrdData.AllowVerticalSplit")));
			this.dgrdData.AlternatingRows = ((bool)(resources.GetObject("dgrdData.AlternatingRows")));
			this.dgrdData.Anchor = ((System.Windows.Forms.AnchorStyles)(resources.GetObject("dgrdData.Anchor")));
			this.dgrdData.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("dgrdData.BackgroundImage")));
			this.dgrdData.BorderStyle = ((System.Windows.Forms.BorderStyle)(resources.GetObject("dgrdData.BorderStyle")));
			this.dgrdData.Caption = resources.GetString("dgrdData.Caption");
			this.dgrdData.CaptionHeight = ((int)(resources.GetObject("dgrdData.CaptionHeight")));
			this.dgrdData.CellTipsDelay = ((int)(resources.GetObject("dgrdData.CellTipsDelay")));
			this.dgrdData.CellTipsWidth = ((int)(resources.GetObject("dgrdData.CellTipsWidth")));
			this.dgrdData.ChildGrid = ((C1.Win.C1TrueDBGrid.C1TrueDBGrid)(resources.GetObject("dgrdData.ChildGrid")));
			this.dgrdData.CollapseColor = ((System.Drawing.Color)(resources.GetObject("dgrdData.CollapseColor")));
			this.dgrdData.ColumnFooters = ((bool)(resources.GetObject("dgrdData.ColumnFooters")));
			this.dgrdData.ColumnHeaders = ((bool)(resources.GetObject("dgrdData.ColumnHeaders")));
			this.dgrdData.DefColWidth = ((int)(resources.GetObject("dgrdData.DefColWidth")));
			this.dgrdData.Dock = ((System.Windows.Forms.DockStyle)(resources.GetObject("dgrdData.Dock")));
			this.dgrdData.EditDropDown = ((bool)(resources.GetObject("dgrdData.EditDropDown")));
			this.dgrdData.EmptyRows = ((bool)(resources.GetObject("dgrdData.EmptyRows")));
			this.dgrdData.Enabled = ((bool)(resources.GetObject("dgrdData.Enabled")));
			this.dgrdData.ExpandColor = ((System.Drawing.Color)(resources.GetObject("dgrdData.ExpandColor")));
			this.dgrdData.ExposeCellMode = ((C1.Win.C1TrueDBGrid.ExposeCellModeEnum)(resources.GetObject("dgrdData.ExposeCellMode")));
			this.dgrdData.ExtendRightColumn = ((bool)(resources.GetObject("dgrdData.ExtendRightColumn")));
			this.dgrdData.FetchRowStyles = ((bool)(resources.GetObject("dgrdData.FetchRowStyles")));
			this.dgrdData.FilterBar = ((bool)(resources.GetObject("dgrdData.FilterBar")));
			this.dgrdData.FlatStyle = ((C1.Win.C1TrueDBGrid.FlatModeEnum)(resources.GetObject("dgrdData.FlatStyle")));
			this.dgrdData.Font = ((System.Drawing.Font)(resources.GetObject("dgrdData.Font")));
			this.dgrdData.GroupByAreaVisible = ((bool)(resources.GetObject("dgrdData.GroupByAreaVisible")));
			this.dgrdData.GroupByCaption = resources.GetString("dgrdData.GroupByCaption");
			this.dgrdData.Images.Add(((System.Drawing.Image)(resources.GetObject("resource"))));
			this.dgrdData.ImeMode = ((System.Windows.Forms.ImeMode)(resources.GetObject("dgrdData.ImeMode")));
			this.dgrdData.LinesPerRow = ((int)(resources.GetObject("dgrdData.LinesPerRow")));
			this.dgrdData.Location = ((System.Drawing.Point)(resources.GetObject("dgrdData.Location")));
			this.dgrdData.MarqueeStyle = C1.Win.C1TrueDBGrid.MarqueeEnum.DottedCellBorder;
			this.dgrdData.Name = "dgrdData";
			this.dgrdData.PictureAddnewRow = ((System.Drawing.Image)(resources.GetObject("dgrdData.PictureAddnewRow")));
			this.dgrdData.PictureCurrentRow = ((System.Drawing.Image)(resources.GetObject("dgrdData.PictureCurrentRow")));
			this.dgrdData.PictureFilterBar = ((System.Drawing.Image)(resources.GetObject("dgrdData.PictureFilterBar")));
			this.dgrdData.PictureFooterRow = ((System.Drawing.Image)(resources.GetObject("dgrdData.PictureFooterRow")));
			this.dgrdData.PictureHeaderRow = ((System.Drawing.Image)(resources.GetObject("dgrdData.PictureHeaderRow")));
			this.dgrdData.PictureModifiedRow = ((System.Drawing.Image)(resources.GetObject("dgrdData.PictureModifiedRow")));
			this.dgrdData.PictureStandardRow = ((System.Drawing.Image)(resources.GetObject("dgrdData.PictureStandardRow")));
			this.dgrdData.PreviewInfo.AllowSizing = ((bool)(resources.GetObject("dgrdData.PreviewInfo.AllowSizing")));
			this.dgrdData.PreviewInfo.Caption = resources.GetString("dgrdData.PreviewInfo.Caption");
			this.dgrdData.PreviewInfo.Location = ((System.Drawing.Point)(resources.GetObject("dgrdData.PreviewInfo.Location")));
			this.dgrdData.PreviewInfo.Size = ((System.Drawing.Size)(resources.GetObject("dgrdData.PreviewInfo.Size")));
			this.dgrdData.PreviewInfo.ToolBars = ((bool)(resources.GetObject("dgrdData.PreviewInfo.ToolBars")));
			this.dgrdData.PreviewInfo.UIStrings.Content = ((string[])(resources.GetObject("dgrdData.PreviewInfo.UIStrings.Content")));
			this.dgrdData.PreviewInfo.ZoomFactor = ((System.Double)(resources.GetObject("dgrdData.PreviewInfo.ZoomFactor")));
			this.dgrdData.PrintInfo.MaxRowHeight = ((int)(resources.GetObject("dgrdData.PrintInfo.MaxRowHeight")));
			this.dgrdData.PrintInfo.OwnerDrawPageFooter = ((bool)(resources.GetObject("dgrdData.PrintInfo.OwnerDrawPageFooter")));
			this.dgrdData.PrintInfo.OwnerDrawPageHeader = ((bool)(resources.GetObject("dgrdData.PrintInfo.OwnerDrawPageHeader")));
			this.dgrdData.PrintInfo.PageFooter = resources.GetString("dgrdData.PrintInfo.PageFooter");
			this.dgrdData.PrintInfo.PageFooterHeight = ((int)(resources.GetObject("dgrdData.PrintInfo.PageFooterHeight")));
			this.dgrdData.PrintInfo.PageHeader = resources.GetString("dgrdData.PrintInfo.PageHeader");
			this.dgrdData.PrintInfo.PageHeaderHeight = ((int)(resources.GetObject("dgrdData.PrintInfo.PageHeaderHeight")));
			this.dgrdData.PrintInfo.PrintHorizontalSplits = ((bool)(resources.GetObject("dgrdData.PrintInfo.PrintHorizontalSplits")));
			this.dgrdData.PrintInfo.ProgressCaption = resources.GetString("dgrdData.PrintInfo.ProgressCaption");
			this.dgrdData.PrintInfo.RepeatColumnFooters = ((bool)(resources.GetObject("dgrdData.PrintInfo.RepeatColumnFooters")));
			this.dgrdData.PrintInfo.RepeatColumnHeaders = ((bool)(resources.GetObject("dgrdData.PrintInfo.RepeatColumnHeaders")));
			this.dgrdData.PrintInfo.RepeatGridHeader = ((bool)(resources.GetObject("dgrdData.PrintInfo.RepeatGridHeader")));
			this.dgrdData.PrintInfo.RepeatSplitHeaders = ((bool)(resources.GetObject("dgrdData.PrintInfo.RepeatSplitHeaders")));
			this.dgrdData.PrintInfo.ShowOptionsDialog = ((bool)(resources.GetObject("dgrdData.PrintInfo.ShowOptionsDialog")));
			this.dgrdData.PrintInfo.ShowProgressForm = ((bool)(resources.GetObject("dgrdData.PrintInfo.ShowProgressForm")));
			this.dgrdData.PrintInfo.ShowSelection = ((bool)(resources.GetObject("dgrdData.PrintInfo.ShowSelection")));
			this.dgrdData.PrintInfo.UseGridColors = ((bool)(resources.GetObject("dgrdData.PrintInfo.UseGridColors")));
			this.dgrdData.RecordSelectors = ((bool)(resources.GetObject("dgrdData.RecordSelectors")));
			this.dgrdData.RecordSelectorWidth = ((int)(resources.GetObject("dgrdData.RecordSelectorWidth")));
			this.dgrdData.RightToLeft = ((System.Windows.Forms.RightToLeft)(resources.GetObject("dgrdData.RightToLeft")));
			this.dgrdData.RowDivider.Color = ((System.Drawing.Color)(resources.GetObject("resource.Color")));
			this.dgrdData.RowDivider.Style = ((C1.Win.C1TrueDBGrid.LineStyleEnum)(resources.GetObject("resource.Style")));
			this.dgrdData.RowHeight = ((int)(resources.GetObject("dgrdData.RowHeight")));
			this.dgrdData.RowSubDividerColor = ((System.Drawing.Color)(resources.GetObject("dgrdData.RowSubDividerColor")));
			this.dgrdData.ScrollTips = ((bool)(resources.GetObject("dgrdData.ScrollTips")));
			this.dgrdData.ScrollTrack = ((bool)(resources.GetObject("dgrdData.ScrollTrack")));
			this.dgrdData.Size = ((System.Drawing.Size)(resources.GetObject("dgrdData.Size")));
			this.dgrdData.SpringMode = ((bool)(resources.GetObject("dgrdData.SpringMode")));
			this.dgrdData.TabAcrossSplits = ((bool)(resources.GetObject("dgrdData.TabAcrossSplits")));
			this.dgrdData.TabIndex = ((int)(resources.GetObject("dgrdData.TabIndex")));
			this.dgrdData.Text = resources.GetString("dgrdData.Text");
			this.dgrdData.ViewCaptionWidth = ((int)(resources.GetObject("dgrdData.ViewCaptionWidth")));
			this.dgrdData.ViewColumnWidth = ((int)(resources.GetObject("dgrdData.ViewColumnWidth")));
			this.dgrdData.Visible = ((bool)(resources.GetObject("dgrdData.Visible")));
			this.dgrdData.WrapCellPointer = ((bool)(resources.GetObject("dgrdData.WrapCellPointer")));
			this.dgrdData.RowColChange += new C1.Win.C1TrueDBGrid.RowColChangeEventHandler(this.dgrdData_RowColChange);
			this.dgrdData.BeforeColEdit += new C1.Win.C1TrueDBGrid.BeforeColEditEventHandler(this.dgrdData_BeforeColEdit);
			this.dgrdData.ButtonClick += new C1.Win.C1TrueDBGrid.ColEventHandler(this.dgrdData_ButtonClick);
			this.dgrdData.AfterColUpdate += new C1.Win.C1TrueDBGrid.ColEventHandler(this.dgrdData_AfterColUpdate);
			this.dgrdData.BeforeInsert += new C1.Win.C1TrueDBGrid.CancelEventHandler(this.dgrdData_BeforeInsert);
			this.dgrdData.BeforeColUpdate += new C1.Win.C1TrueDBGrid.BeforeColUpdateEventHandler(this.dgrdData_BeforeColUpdate);
			this.dgrdData.BeforeDelete += new C1.Win.C1TrueDBGrid.CancelEventHandler(this.dgrdData_BeforeDelete);
			this.dgrdData.KeyDown += new System.Windows.Forms.KeyEventHandler(this.dgrdData_KeyDown);
			this.dgrdData.OnAddNew += new System.EventHandler(this.dgrdData_OnAddNew);
			this.dgrdData.PropBag = resources.GetString("dgrdData.PropBag");
			// 
			// txtProductionLine
			// 
			this.txtProductionLine.AccessibleDescription = resources.GetString("txtProductionLine.AccessibleDescription");
			this.txtProductionLine.AccessibleName = resources.GetString("txtProductionLine.AccessibleName");
			this.txtProductionLine.Anchor = ((System.Windows.Forms.AnchorStyles)(resources.GetObject("txtProductionLine.Anchor")));
			this.txtProductionLine.AutoSize = ((bool)(resources.GetObject("txtProductionLine.AutoSize")));
			this.txtProductionLine.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("txtProductionLine.BackgroundImage")));
			this.txtProductionLine.Dock = ((System.Windows.Forms.DockStyle)(resources.GetObject("txtProductionLine.Dock")));
			this.txtProductionLine.Enabled = ((bool)(resources.GetObject("txtProductionLine.Enabled")));
			this.txtProductionLine.Font = ((System.Drawing.Font)(resources.GetObject("txtProductionLine.Font")));
			this.txtProductionLine.ImeMode = ((System.Windows.Forms.ImeMode)(resources.GetObject("txtProductionLine.ImeMode")));
			this.txtProductionLine.Location = ((System.Drawing.Point)(resources.GetObject("txtProductionLine.Location")));
			this.txtProductionLine.MaxLength = ((int)(resources.GetObject("txtProductionLine.MaxLength")));
			this.txtProductionLine.Multiline = ((bool)(resources.GetObject("txtProductionLine.Multiline")));
			this.txtProductionLine.Name = "txtProductionLine";
			this.txtProductionLine.PasswordChar = ((char)(resources.GetObject("txtProductionLine.PasswordChar")));
			this.txtProductionLine.RightToLeft = ((System.Windows.Forms.RightToLeft)(resources.GetObject("txtProductionLine.RightToLeft")));
			this.txtProductionLine.ScrollBars = ((System.Windows.Forms.ScrollBars)(resources.GetObject("txtProductionLine.ScrollBars")));
			this.txtProductionLine.Size = ((System.Drawing.Size)(resources.GetObject("txtProductionLine.Size")));
			this.txtProductionLine.TabIndex = ((int)(resources.GetObject("txtProductionLine.TabIndex")));
			this.txtProductionLine.Text = resources.GetString("txtProductionLine.Text");
			this.txtProductionLine.TextAlign = ((System.Windows.Forms.HorizontalAlignment)(resources.GetObject("txtProductionLine.TextAlign")));
			this.txtProductionLine.Visible = ((bool)(resources.GetObject("txtProductionLine.Visible")));
			this.txtProductionLine.WordWrap = ((bool)(resources.GetObject("txtProductionLine.WordWrap")));
			this.txtProductionLine.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txtProductionLine_KeyDown);
			this.txtProductionLine.Validating += new System.ComponentModel.CancelEventHandler(this.txtProductionLine_Validating);
			// 
			// btnProductionLine
			// 
			this.btnProductionLine.AccessibleDescription = resources.GetString("btnProductionLine.AccessibleDescription");
			this.btnProductionLine.AccessibleName = resources.GetString("btnProductionLine.AccessibleName");
			this.btnProductionLine.Anchor = ((System.Windows.Forms.AnchorStyles)(resources.GetObject("btnProductionLine.Anchor")));
			this.btnProductionLine.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("btnProductionLine.BackgroundImage")));
			this.btnProductionLine.Dock = ((System.Windows.Forms.DockStyle)(resources.GetObject("btnProductionLine.Dock")));
			this.btnProductionLine.Enabled = ((bool)(resources.GetObject("btnProductionLine.Enabled")));
			this.btnProductionLine.FlatStyle = ((System.Windows.Forms.FlatStyle)(resources.GetObject("btnProductionLine.FlatStyle")));
			this.btnProductionLine.Font = ((System.Drawing.Font)(resources.GetObject("btnProductionLine.Font")));
			this.btnProductionLine.Image = ((System.Drawing.Image)(resources.GetObject("btnProductionLine.Image")));
			this.btnProductionLine.ImageAlign = ((System.Drawing.ContentAlignment)(resources.GetObject("btnProductionLine.ImageAlign")));
			this.btnProductionLine.ImageIndex = ((int)(resources.GetObject("btnProductionLine.ImageIndex")));
			this.btnProductionLine.ImeMode = ((System.Windows.Forms.ImeMode)(resources.GetObject("btnProductionLine.ImeMode")));
			this.btnProductionLine.Location = ((System.Drawing.Point)(resources.GetObject("btnProductionLine.Location")));
			this.btnProductionLine.Name = "btnProductionLine";
			this.btnProductionLine.RightToLeft = ((System.Windows.Forms.RightToLeft)(resources.GetObject("btnProductionLine.RightToLeft")));
			this.btnProductionLine.Size = ((System.Drawing.Size)(resources.GetObject("btnProductionLine.Size")));
			this.btnProductionLine.TabIndex = ((int)(resources.GetObject("btnProductionLine.TabIndex")));
			this.btnProductionLine.Text = resources.GetString("btnProductionLine.Text");
			this.btnProductionLine.TextAlign = ((System.Drawing.ContentAlignment)(resources.GetObject("btnProductionLine.TextAlign")));
			this.btnProductionLine.Visible = ((bool)(resources.GetObject("btnProductionLine.Visible")));
			this.btnProductionLine.Click += new System.EventHandler(this.btnProductionLine_Click);
			// 
			// lblProductionLine
			// 
			this.lblProductionLine.AccessibleDescription = resources.GetString("lblProductionLine.AccessibleDescription");
			this.lblProductionLine.AccessibleName = resources.GetString("lblProductionLine.AccessibleName");
			this.lblProductionLine.Anchor = ((System.Windows.Forms.AnchorStyles)(resources.GetObject("lblProductionLine.Anchor")));
			this.lblProductionLine.AutoSize = ((bool)(resources.GetObject("lblProductionLine.AutoSize")));
			this.lblProductionLine.Dock = ((System.Windows.Forms.DockStyle)(resources.GetObject("lblProductionLine.Dock")));
			this.lblProductionLine.Enabled = ((bool)(resources.GetObject("lblProductionLine.Enabled")));
			this.lblProductionLine.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
			this.lblProductionLine.Font = ((System.Drawing.Font)(resources.GetObject("lblProductionLine.Font")));
			this.lblProductionLine.ForeColor = System.Drawing.Color.Maroon;
			this.lblProductionLine.Image = ((System.Drawing.Image)(resources.GetObject("lblProductionLine.Image")));
			this.lblProductionLine.ImageAlign = ((System.Drawing.ContentAlignment)(resources.GetObject("lblProductionLine.ImageAlign")));
			this.lblProductionLine.ImageIndex = ((int)(resources.GetObject("lblProductionLine.ImageIndex")));
			this.lblProductionLine.ImeMode = ((System.Windows.Forms.ImeMode)(resources.GetObject("lblProductionLine.ImeMode")));
			this.lblProductionLine.Location = ((System.Drawing.Point)(resources.GetObject("lblProductionLine.Location")));
			this.lblProductionLine.Name = "lblProductionLine";
			this.lblProductionLine.RightToLeft = ((System.Windows.Forms.RightToLeft)(resources.GetObject("lblProductionLine.RightToLeft")));
			this.lblProductionLine.Size = ((System.Drawing.Size)(resources.GetObject("lblProductionLine.Size")));
			this.lblProductionLine.TabIndex = ((int)(resources.GetObject("lblProductionLine.TabIndex")));
			this.lblProductionLine.Text = resources.GetString("lblProductionLine.Text");
			this.lblProductionLine.TextAlign = ((System.Drawing.ContentAlignment)(resources.GetObject("lblProductionLine.TextAlign")));
			this.lblProductionLine.Visible = ((bool)(resources.GetObject("lblProductionLine.Visible")));
			// 
			// lblAvailableAmount
			// 
			this.lblAvailableAmount.AccessibleDescription = resources.GetString("lblAvailableAmount.AccessibleDescription");
			this.lblAvailableAmount.AccessibleName = resources.GetString("lblAvailableAmount.AccessibleName");
			this.lblAvailableAmount.Anchor = ((System.Windows.Forms.AnchorStyles)(resources.GetObject("lblAvailableAmount.Anchor")));
			this.lblAvailableAmount.AutoSize = ((bool)(resources.GetObject("lblAvailableAmount.AutoSize")));
			this.lblAvailableAmount.Dock = ((System.Windows.Forms.DockStyle)(resources.GetObject("lblAvailableAmount.Dock")));
			this.lblAvailableAmount.Enabled = ((bool)(resources.GetObject("lblAvailableAmount.Enabled")));
			this.lblAvailableAmount.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
			this.lblAvailableAmount.Font = ((System.Drawing.Font)(resources.GetObject("lblAvailableAmount.Font")));
			this.lblAvailableAmount.ForeColor = System.Drawing.Color.Black;
			this.lblAvailableAmount.Image = ((System.Drawing.Image)(resources.GetObject("lblAvailableAmount.Image")));
			this.lblAvailableAmount.ImageAlign = ((System.Drawing.ContentAlignment)(resources.GetObject("lblAvailableAmount.ImageAlign")));
			this.lblAvailableAmount.ImageIndex = ((int)(resources.GetObject("lblAvailableAmount.ImageIndex")));
			this.lblAvailableAmount.ImeMode = ((System.Windows.Forms.ImeMode)(resources.GetObject("lblAvailableAmount.ImeMode")));
			this.lblAvailableAmount.Location = ((System.Drawing.Point)(resources.GetObject("lblAvailableAmount.Location")));
			this.lblAvailableAmount.Name = "lblAvailableAmount";
			this.lblAvailableAmount.RightToLeft = ((System.Windows.Forms.RightToLeft)(resources.GetObject("lblAvailableAmount.RightToLeft")));
			this.lblAvailableAmount.Size = ((System.Drawing.Size)(resources.GetObject("lblAvailableAmount.Size")));
			this.lblAvailableAmount.TabIndex = ((int)(resources.GetObject("lblAvailableAmount.TabIndex")));
			this.lblAvailableAmount.Text = resources.GetString("lblAvailableAmount.Text");
			this.lblAvailableAmount.TextAlign = ((System.Drawing.ContentAlignment)(resources.GetObject("lblAvailableAmount.TextAlign")));
			this.lblAvailableAmount.Visible = ((bool)(resources.GetObject("lblAvailableAmount.Visible")));
			// 
			// txtAvailableAmount
			// 
			this.txtAvailableAmount.AcceptsEscape = ((bool)(resources.GetObject("txtAvailableAmount.AcceptsEscape")));
			this.txtAvailableAmount.AccessibleDescription = resources.GetString("txtAvailableAmount.AccessibleDescription");
			this.txtAvailableAmount.AccessibleName = resources.GetString("txtAvailableAmount.AccessibleName");
			this.txtAvailableAmount.ValueIsDbNull = false;
			this.txtAvailableAmount.Anchor = ((System.Windows.Forms.AnchorStyles)(resources.GetObject("txtAvailableAmount.Anchor")));
			this.txtAvailableAmount.AutoSize = ((bool)(resources.GetObject("txtAvailableAmount.AutoSize")));
			this.txtAvailableAmount.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("txtAvailableAmount.BackgroundImage")));
			this.txtAvailableAmount.BorderStyle = ((System.Windows.Forms.BorderStyle)(resources.GetObject("txtAvailableAmount.BorderStyle")));
			// 
			// txtAvailableAmount.Calculator
			// 
			this.txtAvailableAmount.Calculator.AccessibleDescription = resources.GetString("txtAvailableAmount.Calculator.AccessibleDescription");
			this.txtAvailableAmount.Calculator.AccessibleName = resources.GetString("txtAvailableAmount.Calculator.AccessibleName");
			this.txtAvailableAmount.Calculator.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("txtAvailableAmount.Calculator.BackgroundImage")));
			this.txtAvailableAmount.Calculator.ButtonFlatStyle = ((System.Windows.Forms.FlatStyle)(resources.GetObject("txtAvailableAmount.Calculator.ButtonFlatStyle")));
			this.txtAvailableAmount.Calculator.DisplayFormat = resources.GetString("txtAvailableAmount.Calculator.DisplayFormat");
			this.txtAvailableAmount.Calculator.Font = ((System.Drawing.Font)(resources.GetObject("txtAvailableAmount.Calculator.Font")));
			this.txtAvailableAmount.Calculator.FormatOnClose = ((bool)(resources.GetObject("txtAvailableAmount.Calculator.FormatOnClose")));
			this.txtAvailableAmount.Calculator.StoredFormat = resources.GetString("txtAvailableAmount.Calculator.StoredFormat");
			this.txtAvailableAmount.Calculator.UIStrings.Content = ((string[])(resources.GetObject("txtAvailableAmount.Calculator.UIStrings.Content")));
			this.txtAvailableAmount.CaseSensitive = ((bool)(resources.GetObject("txtAvailableAmount.CaseSensitive")));
			this.txtAvailableAmount.Culture = ((int)(resources.GetObject("txtAvailableAmount.Culture")));
			this.txtAvailableAmount.CustomFormat = resources.GetString("txtAvailableAmount.CustomFormat");
			this.txtAvailableAmount.DataType = ((System.Type)(resources.GetObject("txtAvailableAmount.DataType")));
			this.txtAvailableAmount.DisplayFormat.CustomFormat = resources.GetString("txtAvailableAmount.DisplayFormat.CustomFormat");
			this.txtAvailableAmount.DisplayFormat.FormatType = ((C1.Win.C1Input.FormatTypeEnum)(resources.GetObject("txtAvailableAmount.DisplayFormat.FormatType")));
			this.txtAvailableAmount.DisplayFormat.Inherit = ((C1.Win.C1Input.FormatInfoInheritFlags)(resources.GetObject("txtAvailableAmount.DisplayFormat.Inherit")));
			this.txtAvailableAmount.DisplayFormat.NullText = resources.GetString("txtAvailableAmount.DisplayFormat.NullText");
			this.txtAvailableAmount.DisplayFormat.TrimEnd = ((bool)(resources.GetObject("txtAvailableAmount.DisplayFormat.TrimEnd")));
			this.txtAvailableAmount.DisplayFormat.TrimStart = ((bool)(resources.GetObject("txtAvailableAmount.DisplayFormat.TrimStart")));
			this.txtAvailableAmount.Dock = ((System.Windows.Forms.DockStyle)(resources.GetObject("txtAvailableAmount.Dock")));
			this.txtAvailableAmount.DropDownFormAlign = ((C1.Win.C1Input.DropDownFormAlignmentEnum)(resources.GetObject("txtAvailableAmount.DropDownFormAlign")));
			this.txtAvailableAmount.EditFormat.CustomFormat = resources.GetString("txtAvailableAmount.EditFormat.CustomFormat");
			this.txtAvailableAmount.EditFormat.FormatType = ((C1.Win.C1Input.FormatTypeEnum)(resources.GetObject("txtAvailableAmount.EditFormat.FormatType")));
			this.txtAvailableAmount.EditFormat.Inherit = ((C1.Win.C1Input.FormatInfoInheritFlags)(resources.GetObject("txtAvailableAmount.EditFormat.Inherit")));
			this.txtAvailableAmount.EditFormat.NullText = resources.GetString("txtAvailableAmount.EditFormat.NullText");
			this.txtAvailableAmount.EditFormat.TrimEnd = ((bool)(resources.GetObject("txtAvailableAmount.EditFormat.TrimEnd")));
			this.txtAvailableAmount.EditFormat.TrimStart = ((bool)(resources.GetObject("txtAvailableAmount.EditFormat.TrimStart")));
			this.txtAvailableAmount.EditMask = resources.GetString("txtAvailableAmount.EditMask");
			this.txtAvailableAmount.EmptyAsNull = ((bool)(resources.GetObject("txtAvailableAmount.EmptyAsNull")));
			this.txtAvailableAmount.Enabled = ((bool)(resources.GetObject("txtAvailableAmount.Enabled")));
			this.txtAvailableAmount.ErrorInfo.BeepOnError = ((bool)(resources.GetObject("txtAvailableAmount.ErrorInfo.BeepOnError")));
			this.txtAvailableAmount.ErrorInfo.ErrorMessage = resources.GetString("txtAvailableAmount.ErrorInfo.ErrorMessage");
			this.txtAvailableAmount.ErrorInfo.ErrorMessageCaption = resources.GetString("txtAvailableAmount.ErrorInfo.ErrorMessageCaption");
			this.txtAvailableAmount.ErrorInfo.ShowErrorMessage = ((bool)(resources.GetObject("txtAvailableAmount.ErrorInfo.ShowErrorMessage")));
			this.txtAvailableAmount.ErrorInfo.ValueOnError = ((object)(resources.GetObject("txtAvailableAmount.ErrorInfo.ValueOnError")));
			this.txtAvailableAmount.Font = ((System.Drawing.Font)(resources.GetObject("txtAvailableAmount.Font")));
			this.txtAvailableAmount.FormatType = ((C1.Win.C1Input.FormatTypeEnum)(resources.GetObject("txtAvailableAmount.FormatType")));
			this.txtAvailableAmount.GapHeight = ((int)(resources.GetObject("txtAvailableAmount.GapHeight")));
			this.txtAvailableAmount.ImeMode = ((System.Windows.Forms.ImeMode)(resources.GetObject("txtAvailableAmount.ImeMode")));
			this.txtAvailableAmount.Increment = ((object)(resources.GetObject("txtAvailableAmount.Increment")));
			this.txtAvailableAmount.InitialSelection = ((C1.Win.C1Input.InitialSelectionEnum)(resources.GetObject("txtAvailableAmount.InitialSelection")));
			this.txtAvailableAmount.Location = ((System.Drawing.Point)(resources.GetObject("txtAvailableAmount.Location")));
			this.txtAvailableAmount.MaskInfo.AutoTabWhenFilled = ((bool)(resources.GetObject("txtAvailableAmount.MaskInfo.AutoTabWhenFilled")));
			this.txtAvailableAmount.MaskInfo.CaseSensitive = ((bool)(resources.GetObject("txtAvailableAmount.MaskInfo.CaseSensitive")));
			this.txtAvailableAmount.MaskInfo.CopyWithLiterals = ((bool)(resources.GetObject("txtAvailableAmount.MaskInfo.CopyWithLiterals")));
			this.txtAvailableAmount.MaskInfo.EditMask = resources.GetString("txtAvailableAmount.MaskInfo.EditMask");
			this.txtAvailableAmount.MaskInfo.EmptyAsNull = ((bool)(resources.GetObject("txtAvailableAmount.MaskInfo.EmptyAsNull")));
			this.txtAvailableAmount.MaskInfo.ErrorMessage = resources.GetString("txtAvailableAmount.MaskInfo.ErrorMessage");
			this.txtAvailableAmount.MaskInfo.Inherit = ((C1.Win.C1Input.MaskInfoInheritFlags)(resources.GetObject("txtAvailableAmount.MaskInfo.Inherit")));
			this.txtAvailableAmount.MaskInfo.PromptChar = ((char)(resources.GetObject("txtAvailableAmount.MaskInfo.PromptChar")));
			this.txtAvailableAmount.MaskInfo.ShowLiterals = ((C1.Win.C1Input.ShowLiteralsEnum)(resources.GetObject("txtAvailableAmount.MaskInfo.ShowLiterals")));
			this.txtAvailableAmount.MaskInfo.StoredEmptyChar = ((char)(resources.GetObject("txtAvailableAmount.MaskInfo.StoredEmptyChar")));
			this.txtAvailableAmount.MaxLength = ((int)(resources.GetObject("txtAvailableAmount.MaxLength")));
			this.txtAvailableAmount.Name = "txtAvailableAmount";
			this.txtAvailableAmount.NullText = resources.GetString("txtAvailableAmount.NullText");
			this.txtAvailableAmount.ParseInfo.CaseSensitive = ((bool)(resources.GetObject("txtAvailableAmount.ParseInfo.CaseSensitive")));
			this.txtAvailableAmount.ParseInfo.CustomFormat = resources.GetString("txtAvailableAmount.ParseInfo.CustomFormat");
			this.txtAvailableAmount.ParseInfo.EmptyAsNull = ((bool)(resources.GetObject("txtAvailableAmount.ParseInfo.EmptyAsNull")));
			this.txtAvailableAmount.ParseInfo.ErrorMessage = resources.GetString("txtAvailableAmount.ParseInfo.ErrorMessage");
			this.txtAvailableAmount.ParseInfo.FormatType = ((C1.Win.C1Input.FormatTypeEnum)(resources.GetObject("txtAvailableAmount.ParseInfo.FormatType")));
			this.txtAvailableAmount.ParseInfo.Inherit = ((C1.Win.C1Input.ParseInfoInheritFlags)(resources.GetObject("txtAvailableAmount.ParseInfo.Inherit")));
			this.txtAvailableAmount.ParseInfo.NullText = resources.GetString("txtAvailableAmount.ParseInfo.NullText");
			this.txtAvailableAmount.ParseInfo.NumberStyle = ((C1.Win.C1Input.NumberStyleFlags)(resources.GetObject("txtAvailableAmount.ParseInfo.NumberStyle")));
			this.txtAvailableAmount.ParseInfo.TrimEnd = ((bool)(resources.GetObject("txtAvailableAmount.ParseInfo.TrimEnd")));
			this.txtAvailableAmount.ParseInfo.TrimStart = ((bool)(resources.GetObject("txtAvailableAmount.ParseInfo.TrimStart")));
			this.txtAvailableAmount.PasswordChar = ((char)(resources.GetObject("txtAvailableAmount.PasswordChar")));
			this.txtAvailableAmount.PostValidation.CaseSensitive = ((bool)(resources.GetObject("txtAvailableAmount.PostValidation.CaseSensitive")));
			this.txtAvailableAmount.PostValidation.ErrorMessage = resources.GetString("txtAvailableAmount.PostValidation.ErrorMessage");
			this.txtAvailableAmount.PostValidation.Inherit = ((C1.Win.C1Input.PostValidationInheritFlags)(resources.GetObject("txtAvailableAmount.PostValidation.Inherit")));
			this.txtAvailableAmount.PostValidation.Validation = ((C1.Win.C1Input.PostValidationTypeEnum)(resources.GetObject("txtAvailableAmount.PostValidation.Validation")));
			this.txtAvailableAmount.PostValidation.Values = ((System.Array)(resources.GetObject("txtAvailableAmount.PostValidation.Values")));
			this.txtAvailableAmount.PostValidation.ValuesExcluded = ((System.Array)(resources.GetObject("txtAvailableAmount.PostValidation.ValuesExcluded")));
			this.txtAvailableAmount.PreValidation.CaseSensitive = ((bool)(resources.GetObject("txtAvailableAmount.PreValidation.CaseSensitive")));
			this.txtAvailableAmount.PreValidation.ErrorMessage = resources.GetString("txtAvailableAmount.PreValidation.ErrorMessage");
			this.txtAvailableAmount.PreValidation.Inherit = ((C1.Win.C1Input.PreValidationInheritFlags)(resources.GetObject("txtAvailableAmount.PreValidation.Inherit")));
			this.txtAvailableAmount.PreValidation.ItemSeparator = resources.GetString("txtAvailableAmount.PreValidation.ItemSeparator");
			this.txtAvailableAmount.PreValidation.PatternString = resources.GetString("txtAvailableAmount.PreValidation.PatternString");
			this.txtAvailableAmount.PreValidation.RegexOptions = ((C1.Win.C1Input.RegexOptionFlags)(resources.GetObject("txtAvailableAmount.PreValidation.RegexOptions")));
			this.txtAvailableAmount.PreValidation.TrimEnd = ((bool)(resources.GetObject("txtAvailableAmount.PreValidation.TrimEnd")));
			this.txtAvailableAmount.PreValidation.TrimStart = ((bool)(resources.GetObject("txtAvailableAmount.PreValidation.TrimStart")));
			this.txtAvailableAmount.PreValidation.Validation = ((C1.Win.C1Input.PreValidationTypeEnum)(resources.GetObject("txtAvailableAmount.PreValidation.Validation")));
			this.txtAvailableAmount.ReadOnly = true;
			this.txtAvailableAmount.RightToLeft = ((System.Windows.Forms.RightToLeft)(resources.GetObject("txtAvailableAmount.RightToLeft")));
			this.txtAvailableAmount.ShowFocusRectangle = ((bool)(resources.GetObject("txtAvailableAmount.ShowFocusRectangle")));
			this.txtAvailableAmount.Size = ((System.Drawing.Size)(resources.GetObject("txtAvailableAmount.Size")));
			this.txtAvailableAmount.TabIndex = ((int)(resources.GetObject("txtAvailableAmount.TabIndex")));
			this.txtAvailableAmount.Tag = ((object)(resources.GetObject("txtAvailableAmount.Tag")));
			this.txtAvailableAmount.TextAlign = ((System.Windows.Forms.HorizontalAlignment)(resources.GetObject("txtAvailableAmount.TextAlign")));
			this.txtAvailableAmount.TrimEnd = ((bool)(resources.GetObject("txtAvailableAmount.TrimEnd")));
			this.txtAvailableAmount.TrimStart = ((bool)(resources.GetObject("txtAvailableAmount.TrimStart")));
			this.txtAvailableAmount.UserCultureOverride = ((bool)(resources.GetObject("txtAvailableAmount.UserCultureOverride")));
			this.txtAvailableAmount.Value = ((object)(resources.GetObject("txtAvailableAmount.Value")));
			this.txtAvailableAmount.VerticalAlign = ((C1.Win.C1Input.VerticalAlignEnum)(resources.GetObject("txtAvailableAmount.VerticalAlign")));
			this.txtAvailableAmount.Visible = ((bool)(resources.GetObject("txtAvailableAmount.Visible")));
			this.txtAvailableAmount.VisibleButtons = ((C1.Win.C1Input.DropDownControlButtonFlags)(resources.GetObject("txtAvailableAmount.VisibleButtons")));
			// 
			// chkCompleted
			// 
			this.chkCompleted.AccessibleDescription = resources.GetString("chkCompleted.AccessibleDescription");
			this.chkCompleted.AccessibleName = resources.GetString("chkCompleted.AccessibleName");
			this.chkCompleted.Anchor = ((System.Windows.Forms.AnchorStyles)(resources.GetObject("chkCompleted.Anchor")));
			this.chkCompleted.Appearance = ((System.Windows.Forms.Appearance)(resources.GetObject("chkCompleted.Appearance")));
			this.chkCompleted.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("chkCompleted.BackgroundImage")));
			this.chkCompleted.CheckAlign = ((System.Drawing.ContentAlignment)(resources.GetObject("chkCompleted.CheckAlign")));
			this.chkCompleted.Dock = ((System.Windows.Forms.DockStyle)(resources.GetObject("chkCompleted.Dock")));
			this.chkCompleted.Enabled = ((bool)(resources.GetObject("chkCompleted.Enabled")));
			this.chkCompleted.FlatStyle = ((System.Windows.Forms.FlatStyle)(resources.GetObject("chkCompleted.FlatStyle")));
			this.chkCompleted.Font = ((System.Drawing.Font)(resources.GetObject("chkCompleted.Font")));
			this.chkCompleted.Image = ((System.Drawing.Image)(resources.GetObject("chkCompleted.Image")));
			this.chkCompleted.ImageAlign = ((System.Drawing.ContentAlignment)(resources.GetObject("chkCompleted.ImageAlign")));
			this.chkCompleted.ImageIndex = ((int)(resources.GetObject("chkCompleted.ImageIndex")));
			this.chkCompleted.ImeMode = ((System.Windows.Forms.ImeMode)(resources.GetObject("chkCompleted.ImeMode")));
			this.chkCompleted.Location = ((System.Drawing.Point)(resources.GetObject("chkCompleted.Location")));
			this.chkCompleted.Name = "chkCompleted";
			this.chkCompleted.RightToLeft = ((System.Windows.Forms.RightToLeft)(resources.GetObject("chkCompleted.RightToLeft")));
			this.chkCompleted.Size = ((System.Drawing.Size)(resources.GetObject("chkCompleted.Size")));
			this.chkCompleted.TabIndex = ((int)(resources.GetObject("chkCompleted.TabIndex")));
			this.chkCompleted.Text = resources.GetString("chkCompleted.Text");
			this.chkCompleted.TextAlign = ((System.Drawing.ContentAlignment)(resources.GetObject("chkCompleted.TextAlign")));
			this.chkCompleted.Visible = ((bool)(resources.GetObject("chkCompleted.Visible")));
			// 
			// dtmDate
			// 
			this.dtmDate.AcceptsEscape = ((bool)(resources.GetObject("dtmDate.AcceptsEscape")));
			this.dtmDate.AccessibleDescription = resources.GetString("dtmDate.AccessibleDescription");
			this.dtmDate.AccessibleName = resources.GetString("dtmDate.AccessibleName");
			this.dtmDate.Anchor = ((System.Windows.Forms.AnchorStyles)(resources.GetObject("dtmDate.Anchor")));
			this.dtmDate.AutoSize = ((bool)(resources.GetObject("dtmDate.AutoSize")));
			this.dtmDate.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("dtmDate.BackgroundImage")));
			this.dtmDate.BorderStyle = ((System.Windows.Forms.BorderStyle)(resources.GetObject("dtmDate.BorderStyle")));
			// 
			// dtmDate.Calendar
			// 
			this.dtmDate.Calendar.AccessibleDescription = resources.GetString("dtmDate.Calendar.AccessibleDescription");
			this.dtmDate.Calendar.AccessibleName = resources.GetString("dtmDate.Calendar.AccessibleName");
			this.dtmDate.Calendar.AnnuallyBoldedDates = ((System.DateTime[])(resources.GetObject("dtmDate.Calendar.AnnuallyBoldedDates")));
			this.dtmDate.Calendar.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("dtmDate.Calendar.BackgroundImage")));
			this.dtmDate.Calendar.BoldedDates = ((System.DateTime[])(resources.GetObject("dtmDate.Calendar.BoldedDates")));
			this.dtmDate.Calendar.CalendarDimensions = ((System.Drawing.Size)(resources.GetObject("dtmDate.Calendar.CalendarDimensions")));
			this.dtmDate.Calendar.Enabled = ((bool)(resources.GetObject("dtmDate.Calendar.Enabled")));
			this.dtmDate.Calendar.FirstDayOfWeek = ((System.Windows.Forms.Day)(resources.GetObject("dtmDate.Calendar.FirstDayOfWeek")));
			this.dtmDate.Calendar.Font = ((System.Drawing.Font)(resources.GetObject("dtmDate.Calendar.Font")));
			this.dtmDate.Calendar.ImeMode = ((System.Windows.Forms.ImeMode)(resources.GetObject("dtmDate.Calendar.ImeMode")));
			this.dtmDate.Calendar.MonthlyBoldedDates = ((System.DateTime[])(resources.GetObject("dtmDate.Calendar.MonthlyBoldedDates")));
			this.dtmDate.Calendar.RightToLeft = ((System.Windows.Forms.RightToLeft)(resources.GetObject("dtmDate.Calendar.RightToLeft")));
			this.dtmDate.Calendar.ShowClearButton = ((bool)(resources.GetObject("dtmDate.Calendar.ShowClearButton")));
			this.dtmDate.Calendar.ShowTodayButton = ((bool)(resources.GetObject("dtmDate.Calendar.ShowTodayButton")));
			this.dtmDate.Calendar.ShowWeekNumbers = ((bool)(resources.GetObject("dtmDate.Calendar.ShowWeekNumbers")));
			this.dtmDate.CaseSensitive = ((bool)(resources.GetObject("dtmDate.CaseSensitive")));
			this.dtmDate.Culture = ((int)(resources.GetObject("dtmDate.Culture")));
			this.dtmDate.CurrentTimeZone = ((bool)(resources.GetObject("dtmDate.CurrentTimeZone")));
			this.dtmDate.CustomFormat = resources.GetString("dtmDate.CustomFormat");
			this.dtmDate.DaylightTimeAdjustment = ((C1.Win.C1Input.DaylightTimeAdjustmentEnum)(resources.GetObject("dtmDate.DaylightTimeAdjustment")));
			this.dtmDate.DisplayFormat.CustomFormat = resources.GetString("dtmDate.DisplayFormat.CustomFormat");
			this.dtmDate.DisplayFormat.FormatType = ((C1.Win.C1Input.FormatTypeEnum)(resources.GetObject("dtmDate.DisplayFormat.FormatType")));
			this.dtmDate.DisplayFormat.Inherit = ((C1.Win.C1Input.FormatInfoInheritFlags)(resources.GetObject("dtmDate.DisplayFormat.Inherit")));
			this.dtmDate.DisplayFormat.NullText = resources.GetString("dtmDate.DisplayFormat.NullText");
			this.dtmDate.DisplayFormat.TrimEnd = ((bool)(resources.GetObject("dtmDate.DisplayFormat.TrimEnd")));
			this.dtmDate.DisplayFormat.TrimStart = ((bool)(resources.GetObject("dtmDate.DisplayFormat.TrimStart")));
			this.dtmDate.Dock = ((System.Windows.Forms.DockStyle)(resources.GetObject("dtmDate.Dock")));
			this.dtmDate.DropDownFormAlign = ((C1.Win.C1Input.DropDownFormAlignmentEnum)(resources.GetObject("dtmDate.DropDownFormAlign")));
			this.dtmDate.EditFormat.CustomFormat = resources.GetString("dtmDate.EditFormat.CustomFormat");
			this.dtmDate.EditFormat.FormatType = ((C1.Win.C1Input.FormatTypeEnum)(resources.GetObject("dtmDate.EditFormat.FormatType")));
			this.dtmDate.EditFormat.Inherit = ((C1.Win.C1Input.FormatInfoInheritFlags)(resources.GetObject("dtmDate.EditFormat.Inherit")));
			this.dtmDate.EditFormat.NullText = resources.GetString("dtmDate.EditFormat.NullText");
			this.dtmDate.EditFormat.TrimEnd = ((bool)(resources.GetObject("dtmDate.EditFormat.TrimEnd")));
			this.dtmDate.EditFormat.TrimStart = ((bool)(resources.GetObject("dtmDate.EditFormat.TrimStart")));
			this.dtmDate.EditMask = resources.GetString("dtmDate.EditMask");
			this.dtmDate.EmptyAsNull = ((bool)(resources.GetObject("dtmDate.EmptyAsNull")));
			this.dtmDate.Enabled = ((bool)(resources.GetObject("dtmDate.Enabled")));
			this.dtmDate.ErrorInfo.BeepOnError = ((bool)(resources.GetObject("dtmDate.ErrorInfo.BeepOnError")));
			this.dtmDate.ErrorInfo.ErrorMessage = resources.GetString("dtmDate.ErrorInfo.ErrorMessage");
			this.dtmDate.ErrorInfo.ErrorMessageCaption = resources.GetString("dtmDate.ErrorInfo.ErrorMessageCaption");
			this.dtmDate.ErrorInfo.ShowErrorMessage = ((bool)(resources.GetObject("dtmDate.ErrorInfo.ShowErrorMessage")));
			this.dtmDate.ErrorInfo.ValueOnError = ((object)(resources.GetObject("dtmDate.ErrorInfo.ValueOnError")));
			this.dtmDate.Font = ((System.Drawing.Font)(resources.GetObject("dtmDate.Font")));
			this.dtmDate.FormatType = ((C1.Win.C1Input.FormatTypeEnum)(resources.GetObject("dtmDate.FormatType")));
			this.dtmDate.GapHeight = ((int)(resources.GetObject("dtmDate.GapHeight")));
			this.dtmDate.GMTOffset = ((System.TimeSpan)(resources.GetObject("dtmDate.GMTOffset")));
			this.dtmDate.ImeMode = ((System.Windows.Forms.ImeMode)(resources.GetObject("dtmDate.ImeMode")));
			this.dtmDate.InitialSelection = ((C1.Win.C1Input.InitialSelectionEnum)(resources.GetObject("dtmDate.InitialSelection")));
			this.dtmDate.Location = ((System.Drawing.Point)(resources.GetObject("dtmDate.Location")));
			this.dtmDate.MaskInfo.AutoTabWhenFilled = ((bool)(resources.GetObject("dtmDate.MaskInfo.AutoTabWhenFilled")));
			this.dtmDate.MaskInfo.CaseSensitive = ((bool)(resources.GetObject("dtmDate.MaskInfo.CaseSensitive")));
			this.dtmDate.MaskInfo.CopyWithLiterals = ((bool)(resources.GetObject("dtmDate.MaskInfo.CopyWithLiterals")));
			this.dtmDate.MaskInfo.EditMask = resources.GetString("dtmDate.MaskInfo.EditMask");
			this.dtmDate.MaskInfo.EmptyAsNull = ((bool)(resources.GetObject("dtmDate.MaskInfo.EmptyAsNull")));
			this.dtmDate.MaskInfo.ErrorMessage = resources.GetString("dtmDate.MaskInfo.ErrorMessage");
			this.dtmDate.MaskInfo.Inherit = ((C1.Win.C1Input.MaskInfoInheritFlags)(resources.GetObject("dtmDate.MaskInfo.Inherit")));
			this.dtmDate.MaskInfo.PromptChar = ((char)(resources.GetObject("dtmDate.MaskInfo.PromptChar")));
			this.dtmDate.MaskInfo.ShowLiterals = ((C1.Win.C1Input.ShowLiteralsEnum)(resources.GetObject("dtmDate.MaskInfo.ShowLiterals")));
			this.dtmDate.MaskInfo.StoredEmptyChar = ((char)(resources.GetObject("dtmDate.MaskInfo.StoredEmptyChar")));
			this.dtmDate.MaxLength = ((int)(resources.GetObject("dtmDate.MaxLength")));
			this.dtmDate.Name = "dtmDate";
			this.dtmDate.NullText = resources.GetString("dtmDate.NullText");
			this.dtmDate.ParseInfo.CaseSensitive = ((bool)(resources.GetObject("dtmDate.ParseInfo.CaseSensitive")));
			this.dtmDate.ParseInfo.CustomFormat = resources.GetString("dtmDate.ParseInfo.CustomFormat");
			this.dtmDate.ParseInfo.DateTimeStyle = ((C1.Win.C1Input.DateTimeStyleFlags)(resources.GetObject("dtmDate.ParseInfo.DateTimeStyle")));
			this.dtmDate.ParseInfo.EmptyAsNull = ((bool)(resources.GetObject("dtmDate.ParseInfo.EmptyAsNull")));
			this.dtmDate.ParseInfo.ErrorMessage = resources.GetString("dtmDate.ParseInfo.ErrorMessage");
			this.dtmDate.ParseInfo.FormatType = ((C1.Win.C1Input.FormatTypeEnum)(resources.GetObject("dtmDate.ParseInfo.FormatType")));
			this.dtmDate.ParseInfo.Inherit = ((C1.Win.C1Input.ParseInfoInheritFlags)(resources.GetObject("dtmDate.ParseInfo.Inherit")));
			this.dtmDate.ParseInfo.NullText = resources.GetString("dtmDate.ParseInfo.NullText");
			this.dtmDate.ParseInfo.TrimEnd = ((bool)(resources.GetObject("dtmDate.ParseInfo.TrimEnd")));
			this.dtmDate.ParseInfo.TrimStart = ((bool)(resources.GetObject("dtmDate.ParseInfo.TrimStart")));
			this.dtmDate.PasswordChar = ((char)(resources.GetObject("dtmDate.PasswordChar")));
			this.dtmDate.PostValidation.CaseSensitive = ((bool)(resources.GetObject("dtmDate.PostValidation.CaseSensitive")));
			this.dtmDate.PostValidation.ErrorMessage = resources.GetString("dtmDate.PostValidation.ErrorMessage");
			this.dtmDate.PostValidation.Inherit = ((C1.Win.C1Input.PostValidationInheritFlags)(resources.GetObject("dtmDate.PostValidation.Inherit")));
			this.dtmDate.PostValidation.Validation = ((C1.Win.C1Input.PostValidationTypeEnum)(resources.GetObject("dtmDate.PostValidation.Validation")));
			this.dtmDate.PostValidation.Values = ((System.Array)(resources.GetObject("dtmDate.PostValidation.Values")));
			this.dtmDate.PostValidation.ValuesExcluded = ((System.Array)(resources.GetObject("dtmDate.PostValidation.ValuesExcluded")));
			this.dtmDate.PreValidation.CaseSensitive = ((bool)(resources.GetObject("dtmDate.PreValidation.CaseSensitive")));
			this.dtmDate.PreValidation.ErrorMessage = resources.GetString("dtmDate.PreValidation.ErrorMessage");
			this.dtmDate.PreValidation.Inherit = ((C1.Win.C1Input.PreValidationInheritFlags)(resources.GetObject("dtmDate.PreValidation.Inherit")));
			this.dtmDate.PreValidation.ItemSeparator = resources.GetString("dtmDate.PreValidation.ItemSeparator");
			this.dtmDate.PreValidation.PatternString = resources.GetString("dtmDate.PreValidation.PatternString");
			this.dtmDate.PreValidation.RegexOptions = ((C1.Win.C1Input.RegexOptionFlags)(resources.GetObject("dtmDate.PreValidation.RegexOptions")));
			this.dtmDate.PreValidation.TrimEnd = ((bool)(resources.GetObject("dtmDate.PreValidation.TrimEnd")));
			this.dtmDate.PreValidation.TrimStart = ((bool)(resources.GetObject("dtmDate.PreValidation.TrimStart")));
			this.dtmDate.PreValidation.Validation = ((C1.Win.C1Input.PreValidationTypeEnum)(resources.GetObject("dtmDate.PreValidation.Validation")));
			this.dtmDate.RightToLeft = ((System.Windows.Forms.RightToLeft)(resources.GetObject("dtmDate.RightToLeft")));
			this.dtmDate.ShowFocusRectangle = ((bool)(resources.GetObject("dtmDate.ShowFocusRectangle")));
			this.dtmDate.Size = ((System.Drawing.Size)(resources.GetObject("dtmDate.Size")));
			this.dtmDate.TabIndex = ((int)(resources.GetObject("dtmDate.TabIndex")));
			this.dtmDate.Tag = ((object)(resources.GetObject("dtmDate.Tag")));
			this.dtmDate.TextAlign = ((System.Windows.Forms.HorizontalAlignment)(resources.GetObject("dtmDate.TextAlign")));
			this.dtmDate.TrimEnd = ((bool)(resources.GetObject("dtmDate.TrimEnd")));
			this.dtmDate.TrimStart = ((bool)(resources.GetObject("dtmDate.TrimStart")));
			this.dtmDate.UserCultureOverride = ((bool)(resources.GetObject("dtmDate.UserCultureOverride")));
			this.dtmDate.Value = ((object)(resources.GetObject("dtmDate.Value")));
			this.dtmDate.VerticalAlign = ((C1.Win.C1Input.VerticalAlignEnum)(resources.GetObject("dtmDate.VerticalAlign")));
			this.dtmDate.Visible = ((bool)(resources.GetObject("dtmDate.Visible")));
			this.dtmDate.VisibleButtons = ((C1.Win.C1Input.DropDownControlButtonFlags)(resources.GetObject("dtmDate.VisibleButtons")));
			// 
			// txtTotalRequest
			// 
			this.txtTotalRequest.AcceptsEscape = ((bool)(resources.GetObject("txtTotalRequest.AcceptsEscape")));
			this.txtTotalRequest.AccessibleDescription = resources.GetString("txtTotalRequest.AccessibleDescription");
			this.txtTotalRequest.AccessibleName = resources.GetString("txtTotalRequest.AccessibleName");
			this.txtTotalRequest.ValueIsDbNull = false;
			this.txtTotalRequest.Anchor = ((System.Windows.Forms.AnchorStyles)(resources.GetObject("txtTotalRequest.Anchor")));
			this.txtTotalRequest.AutoSize = ((bool)(resources.GetObject("txtTotalRequest.AutoSize")));
			this.txtTotalRequest.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("txtTotalRequest.BackgroundImage")));
			this.txtTotalRequest.BorderStyle = ((System.Windows.Forms.BorderStyle)(resources.GetObject("txtTotalRequest.BorderStyle")));
			// 
			// txtTotalRequest.Calculator
			// 
			this.txtTotalRequest.Calculator.AccessibleDescription = resources.GetString("txtTotalRequest.Calculator.AccessibleDescription");
			this.txtTotalRequest.Calculator.AccessibleName = resources.GetString("txtTotalRequest.Calculator.AccessibleName");
			this.txtTotalRequest.Calculator.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("txtTotalRequest.Calculator.BackgroundImage")));
			this.txtTotalRequest.Calculator.ButtonFlatStyle = ((System.Windows.Forms.FlatStyle)(resources.GetObject("txtTotalRequest.Calculator.ButtonFlatStyle")));
			this.txtTotalRequest.Calculator.DisplayFormat = resources.GetString("txtTotalRequest.Calculator.DisplayFormat");
			this.txtTotalRequest.Calculator.Font = ((System.Drawing.Font)(resources.GetObject("txtTotalRequest.Calculator.Font")));
			this.txtTotalRequest.Calculator.FormatOnClose = ((bool)(resources.GetObject("txtTotalRequest.Calculator.FormatOnClose")));
			this.txtTotalRequest.Calculator.StoredFormat = resources.GetString("txtTotalRequest.Calculator.StoredFormat");
			this.txtTotalRequest.Calculator.UIStrings.Content = ((string[])(resources.GetObject("txtTotalRequest.Calculator.UIStrings.Content")));
			this.txtTotalRequest.CaseSensitive = ((bool)(resources.GetObject("txtTotalRequest.CaseSensitive")));
			this.txtTotalRequest.Culture = ((int)(resources.GetObject("txtTotalRequest.Culture")));
			this.txtTotalRequest.CustomFormat = resources.GetString("txtTotalRequest.CustomFormat");
			this.txtTotalRequest.DataType = ((System.Type)(resources.GetObject("txtTotalRequest.DataType")));
			this.txtTotalRequest.DisplayFormat.CustomFormat = resources.GetString("txtTotalRequest.DisplayFormat.CustomFormat");
			this.txtTotalRequest.DisplayFormat.FormatType = ((C1.Win.C1Input.FormatTypeEnum)(resources.GetObject("txtTotalRequest.DisplayFormat.FormatType")));
			this.txtTotalRequest.DisplayFormat.Inherit = ((C1.Win.C1Input.FormatInfoInheritFlags)(resources.GetObject("txtTotalRequest.DisplayFormat.Inherit")));
			this.txtTotalRequest.DisplayFormat.NullText = resources.GetString("txtTotalRequest.DisplayFormat.NullText");
			this.txtTotalRequest.DisplayFormat.TrimEnd = ((bool)(resources.GetObject("txtTotalRequest.DisplayFormat.TrimEnd")));
			this.txtTotalRequest.DisplayFormat.TrimStart = ((bool)(resources.GetObject("txtTotalRequest.DisplayFormat.TrimStart")));
			this.txtTotalRequest.Dock = ((System.Windows.Forms.DockStyle)(resources.GetObject("txtTotalRequest.Dock")));
			this.txtTotalRequest.DropDownFormAlign = ((C1.Win.C1Input.DropDownFormAlignmentEnum)(resources.GetObject("txtTotalRequest.DropDownFormAlign")));
			this.txtTotalRequest.EditFormat.CustomFormat = resources.GetString("txtTotalRequest.EditFormat.CustomFormat");
			this.txtTotalRequest.EditFormat.FormatType = ((C1.Win.C1Input.FormatTypeEnum)(resources.GetObject("txtTotalRequest.EditFormat.FormatType")));
			this.txtTotalRequest.EditFormat.Inherit = ((C1.Win.C1Input.FormatInfoInheritFlags)(resources.GetObject("txtTotalRequest.EditFormat.Inherit")));
			this.txtTotalRequest.EditFormat.NullText = resources.GetString("txtTotalRequest.EditFormat.NullText");
			this.txtTotalRequest.EditFormat.TrimEnd = ((bool)(resources.GetObject("txtTotalRequest.EditFormat.TrimEnd")));
			this.txtTotalRequest.EditFormat.TrimStart = ((bool)(resources.GetObject("txtTotalRequest.EditFormat.TrimStart")));
			this.txtTotalRequest.EditMask = resources.GetString("txtTotalRequest.EditMask");
			this.txtTotalRequest.EmptyAsNull = ((bool)(resources.GetObject("txtTotalRequest.EmptyAsNull")));
			this.txtTotalRequest.Enabled = ((bool)(resources.GetObject("txtTotalRequest.Enabled")));
			this.txtTotalRequest.ErrorInfo.BeepOnError = ((bool)(resources.GetObject("txtTotalRequest.ErrorInfo.BeepOnError")));
			this.txtTotalRequest.ErrorInfo.ErrorMessage = resources.GetString("txtTotalRequest.ErrorInfo.ErrorMessage");
			this.txtTotalRequest.ErrorInfo.ErrorMessageCaption = resources.GetString("txtTotalRequest.ErrorInfo.ErrorMessageCaption");
			this.txtTotalRequest.ErrorInfo.ShowErrorMessage = ((bool)(resources.GetObject("txtTotalRequest.ErrorInfo.ShowErrorMessage")));
			this.txtTotalRequest.ErrorInfo.ValueOnError = ((object)(resources.GetObject("txtTotalRequest.ErrorInfo.ValueOnError")));
			this.txtTotalRequest.Font = ((System.Drawing.Font)(resources.GetObject("txtTotalRequest.Font")));
			this.txtTotalRequest.FormatType = ((C1.Win.C1Input.FormatTypeEnum)(resources.GetObject("txtTotalRequest.FormatType")));
			this.txtTotalRequest.GapHeight = ((int)(resources.GetObject("txtTotalRequest.GapHeight")));
			this.txtTotalRequest.ImeMode = ((System.Windows.Forms.ImeMode)(resources.GetObject("txtTotalRequest.ImeMode")));
			this.txtTotalRequest.Increment = ((object)(resources.GetObject("txtTotalRequest.Increment")));
			this.txtTotalRequest.InitialSelection = ((C1.Win.C1Input.InitialSelectionEnum)(resources.GetObject("txtTotalRequest.InitialSelection")));
			this.txtTotalRequest.Location = ((System.Drawing.Point)(resources.GetObject("txtTotalRequest.Location")));
			this.txtTotalRequest.MaskInfo.AutoTabWhenFilled = ((bool)(resources.GetObject("txtTotalRequest.MaskInfo.AutoTabWhenFilled")));
			this.txtTotalRequest.MaskInfo.CaseSensitive = ((bool)(resources.GetObject("txtTotalRequest.MaskInfo.CaseSensitive")));
			this.txtTotalRequest.MaskInfo.CopyWithLiterals = ((bool)(resources.GetObject("txtTotalRequest.MaskInfo.CopyWithLiterals")));
			this.txtTotalRequest.MaskInfo.EditMask = resources.GetString("txtTotalRequest.MaskInfo.EditMask");
			this.txtTotalRequest.MaskInfo.EmptyAsNull = ((bool)(resources.GetObject("txtTotalRequest.MaskInfo.EmptyAsNull")));
			this.txtTotalRequest.MaskInfo.ErrorMessage = resources.GetString("txtTotalRequest.MaskInfo.ErrorMessage");
			this.txtTotalRequest.MaskInfo.Inherit = ((C1.Win.C1Input.MaskInfoInheritFlags)(resources.GetObject("txtTotalRequest.MaskInfo.Inherit")));
			this.txtTotalRequest.MaskInfo.PromptChar = ((char)(resources.GetObject("txtTotalRequest.MaskInfo.PromptChar")));
			this.txtTotalRequest.MaskInfo.ShowLiterals = ((C1.Win.C1Input.ShowLiteralsEnum)(resources.GetObject("txtTotalRequest.MaskInfo.ShowLiterals")));
			this.txtTotalRequest.MaskInfo.StoredEmptyChar = ((char)(resources.GetObject("txtTotalRequest.MaskInfo.StoredEmptyChar")));
			this.txtTotalRequest.MaxLength = ((int)(resources.GetObject("txtTotalRequest.MaxLength")));
			this.txtTotalRequest.Name = "txtTotalRequest";
			this.txtTotalRequest.NullText = resources.GetString("txtTotalRequest.NullText");
			this.txtTotalRequest.ParseInfo.CaseSensitive = ((bool)(resources.GetObject("txtTotalRequest.ParseInfo.CaseSensitive")));
			this.txtTotalRequest.ParseInfo.CustomFormat = resources.GetString("txtTotalRequest.ParseInfo.CustomFormat");
			this.txtTotalRequest.ParseInfo.EmptyAsNull = ((bool)(resources.GetObject("txtTotalRequest.ParseInfo.EmptyAsNull")));
			this.txtTotalRequest.ParseInfo.ErrorMessage = resources.GetString("txtTotalRequest.ParseInfo.ErrorMessage");
			this.txtTotalRequest.ParseInfo.FormatType = ((C1.Win.C1Input.FormatTypeEnum)(resources.GetObject("txtTotalRequest.ParseInfo.FormatType")));
			this.txtTotalRequest.ParseInfo.Inherit = ((C1.Win.C1Input.ParseInfoInheritFlags)(resources.GetObject("txtTotalRequest.ParseInfo.Inherit")));
			this.txtTotalRequest.ParseInfo.NullText = resources.GetString("txtTotalRequest.ParseInfo.NullText");
			this.txtTotalRequest.ParseInfo.NumberStyle = ((C1.Win.C1Input.NumberStyleFlags)(resources.GetObject("txtTotalRequest.ParseInfo.NumberStyle")));
			this.txtTotalRequest.ParseInfo.TrimEnd = ((bool)(resources.GetObject("txtTotalRequest.ParseInfo.TrimEnd")));
			this.txtTotalRequest.ParseInfo.TrimStart = ((bool)(resources.GetObject("txtTotalRequest.ParseInfo.TrimStart")));
			this.txtTotalRequest.PasswordChar = ((char)(resources.GetObject("txtTotalRequest.PasswordChar")));
			this.txtTotalRequest.PostValidation.CaseSensitive = ((bool)(resources.GetObject("txtTotalRequest.PostValidation.CaseSensitive")));
			this.txtTotalRequest.PostValidation.ErrorMessage = resources.GetString("txtTotalRequest.PostValidation.ErrorMessage");
			this.txtTotalRequest.PostValidation.Inherit = ((C1.Win.C1Input.PostValidationInheritFlags)(resources.GetObject("txtTotalRequest.PostValidation.Inherit")));
			this.txtTotalRequest.PostValidation.Validation = ((C1.Win.C1Input.PostValidationTypeEnum)(resources.GetObject("txtTotalRequest.PostValidation.Validation")));
			this.txtTotalRequest.PostValidation.Values = ((System.Array)(resources.GetObject("txtTotalRequest.PostValidation.Values")));
			this.txtTotalRequest.PostValidation.ValuesExcluded = ((System.Array)(resources.GetObject("txtTotalRequest.PostValidation.ValuesExcluded")));
			this.txtTotalRequest.PreValidation.CaseSensitive = ((bool)(resources.GetObject("txtTotalRequest.PreValidation.CaseSensitive")));
			this.txtTotalRequest.PreValidation.ErrorMessage = resources.GetString("txtTotalRequest.PreValidation.ErrorMessage");
			this.txtTotalRequest.PreValidation.Inherit = ((C1.Win.C1Input.PreValidationInheritFlags)(resources.GetObject("txtTotalRequest.PreValidation.Inherit")));
			this.txtTotalRequest.PreValidation.ItemSeparator = resources.GetString("txtTotalRequest.PreValidation.ItemSeparator");
			this.txtTotalRequest.PreValidation.PatternString = resources.GetString("txtTotalRequest.PreValidation.PatternString");
			this.txtTotalRequest.PreValidation.RegexOptions = ((C1.Win.C1Input.RegexOptionFlags)(resources.GetObject("txtTotalRequest.PreValidation.RegexOptions")));
			this.txtTotalRequest.PreValidation.TrimEnd = ((bool)(resources.GetObject("txtTotalRequest.PreValidation.TrimEnd")));
			this.txtTotalRequest.PreValidation.TrimStart = ((bool)(resources.GetObject("txtTotalRequest.PreValidation.TrimStart")));
			this.txtTotalRequest.PreValidation.Validation = ((C1.Win.C1Input.PreValidationTypeEnum)(resources.GetObject("txtTotalRequest.PreValidation.Validation")));
			this.txtTotalRequest.ReadOnly = true;
			this.txtTotalRequest.RightToLeft = ((System.Windows.Forms.RightToLeft)(resources.GetObject("txtTotalRequest.RightToLeft")));
			this.txtTotalRequest.ShowFocusRectangle = ((bool)(resources.GetObject("txtTotalRequest.ShowFocusRectangle")));
			this.txtTotalRequest.Size = ((System.Drawing.Size)(resources.GetObject("txtTotalRequest.Size")));
			this.txtTotalRequest.TabIndex = ((int)(resources.GetObject("txtTotalRequest.TabIndex")));
			this.txtTotalRequest.Tag = ((object)(resources.GetObject("txtTotalRequest.Tag")));
			this.txtTotalRequest.TextAlign = ((System.Windows.Forms.HorizontalAlignment)(resources.GetObject("txtTotalRequest.TextAlign")));
			this.txtTotalRequest.TrimEnd = ((bool)(resources.GetObject("txtTotalRequest.TrimEnd")));
			this.txtTotalRequest.TrimStart = ((bool)(resources.GetObject("txtTotalRequest.TrimStart")));
			this.txtTotalRequest.UserCultureOverride = ((bool)(resources.GetObject("txtTotalRequest.UserCultureOverride")));
			this.txtTotalRequest.Value = ((object)(resources.GetObject("txtTotalRequest.Value")));
			this.txtTotalRequest.VerticalAlign = ((C1.Win.C1Input.VerticalAlignEnum)(resources.GetObject("txtTotalRequest.VerticalAlign")));
			this.txtTotalRequest.Visible = ((bool)(resources.GetObject("txtTotalRequest.Visible")));
			this.txtTotalRequest.VisibleButtons = ((C1.Win.C1Input.DropDownControlButtonFlags)(resources.GetObject("txtTotalRequest.VisibleButtons")));
			// 
			// lblTotalRequest
			// 
			this.lblTotalRequest.AccessibleDescription = resources.GetString("lblTotalRequest.AccessibleDescription");
			this.lblTotalRequest.AccessibleName = resources.GetString("lblTotalRequest.AccessibleName");
			this.lblTotalRequest.Anchor = ((System.Windows.Forms.AnchorStyles)(resources.GetObject("lblTotalRequest.Anchor")));
			this.lblTotalRequest.AutoSize = ((bool)(resources.GetObject("lblTotalRequest.AutoSize")));
			this.lblTotalRequest.Dock = ((System.Windows.Forms.DockStyle)(resources.GetObject("lblTotalRequest.Dock")));
			this.lblTotalRequest.Enabled = ((bool)(resources.GetObject("lblTotalRequest.Enabled")));
			this.lblTotalRequest.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
			this.lblTotalRequest.Font = ((System.Drawing.Font)(resources.GetObject("lblTotalRequest.Font")));
			this.lblTotalRequest.ForeColor = System.Drawing.Color.Black;
			this.lblTotalRequest.Image = ((System.Drawing.Image)(resources.GetObject("lblTotalRequest.Image")));
			this.lblTotalRequest.ImageAlign = ((System.Drawing.ContentAlignment)(resources.GetObject("lblTotalRequest.ImageAlign")));
			this.lblTotalRequest.ImageIndex = ((int)(resources.GetObject("lblTotalRequest.ImageIndex")));
			this.lblTotalRequest.ImeMode = ((System.Windows.Forms.ImeMode)(resources.GetObject("lblTotalRequest.ImeMode")));
			this.lblTotalRequest.Location = ((System.Drawing.Point)(resources.GetObject("lblTotalRequest.Location")));
			this.lblTotalRequest.Name = "lblTotalRequest";
			this.lblTotalRequest.RightToLeft = ((System.Windows.Forms.RightToLeft)(resources.GetObject("lblTotalRequest.RightToLeft")));
			this.lblTotalRequest.Size = ((System.Drawing.Size)(resources.GetObject("lblTotalRequest.Size")));
			this.lblTotalRequest.TabIndex = ((int)(resources.GetObject("lblTotalRequest.TabIndex")));
			this.lblTotalRequest.Text = resources.GetString("lblTotalRequest.Text");
			this.lblTotalRequest.TextAlign = ((System.Drawing.ContentAlignment)(resources.GetObject("lblTotalRequest.TextAlign")));
			this.lblTotalRequest.Visible = ((bool)(resources.GetObject("lblTotalRequest.Visible")));
			// 
			// lblRequestType
			// 
			this.lblRequestType.AccessibleDescription = resources.GetString("lblRequestType.AccessibleDescription");
			this.lblRequestType.AccessibleName = resources.GetString("lblRequestType.AccessibleName");
			this.lblRequestType.Anchor = ((System.Windows.Forms.AnchorStyles)(resources.GetObject("lblRequestType.Anchor")));
			this.lblRequestType.AutoSize = ((bool)(resources.GetObject("lblRequestType.AutoSize")));
			this.lblRequestType.Dock = ((System.Windows.Forms.DockStyle)(resources.GetObject("lblRequestType.Dock")));
			this.lblRequestType.Enabled = ((bool)(resources.GetObject("lblRequestType.Enabled")));
			this.lblRequestType.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
			this.lblRequestType.Font = ((System.Drawing.Font)(resources.GetObject("lblRequestType.Font")));
			this.lblRequestType.ForeColor = System.Drawing.Color.Maroon;
			this.lblRequestType.Image = ((System.Drawing.Image)(resources.GetObject("lblRequestType.Image")));
			this.lblRequestType.ImageAlign = ((System.Drawing.ContentAlignment)(resources.GetObject("lblRequestType.ImageAlign")));
			this.lblRequestType.ImageIndex = ((int)(resources.GetObject("lblRequestType.ImageIndex")));
			this.lblRequestType.ImeMode = ((System.Windows.Forms.ImeMode)(resources.GetObject("lblRequestType.ImeMode")));
			this.lblRequestType.Location = ((System.Drawing.Point)(resources.GetObject("lblRequestType.Location")));
			this.lblRequestType.Name = "lblRequestType";
			this.lblRequestType.RightToLeft = ((System.Windows.Forms.RightToLeft)(resources.GetObject("lblRequestType.RightToLeft")));
			this.lblRequestType.Size = ((System.Drawing.Size)(resources.GetObject("lblRequestType.Size")));
			this.lblRequestType.TabIndex = ((int)(resources.GetObject("lblRequestType.TabIndex")));
			this.lblRequestType.Text = resources.GetString("lblRequestType.Text");
			this.lblRequestType.TextAlign = ((System.Drawing.ContentAlignment)(resources.GetObject("lblRequestType.TextAlign")));
			this.lblRequestType.Visible = ((bool)(resources.GetObject("lblRequestType.Visible")));
			// 
			// lblCompleteAmount
			// 
			this.lblCompleteAmount.AccessibleDescription = resources.GetString("lblCompleteAmount.AccessibleDescription");
			this.lblCompleteAmount.AccessibleName = resources.GetString("lblCompleteAmount.AccessibleName");
			this.lblCompleteAmount.Anchor = ((System.Windows.Forms.AnchorStyles)(resources.GetObject("lblCompleteAmount.Anchor")));
			this.lblCompleteAmount.AutoSize = ((bool)(resources.GetObject("lblCompleteAmount.AutoSize")));
			this.lblCompleteAmount.Dock = ((System.Windows.Forms.DockStyle)(resources.GetObject("lblCompleteAmount.Dock")));
			this.lblCompleteAmount.Enabled = ((bool)(resources.GetObject("lblCompleteAmount.Enabled")));
			this.lblCompleteAmount.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
			this.lblCompleteAmount.Font = ((System.Drawing.Font)(resources.GetObject("lblCompleteAmount.Font")));
			this.lblCompleteAmount.ForeColor = System.Drawing.Color.Black;
			this.lblCompleteAmount.Image = ((System.Drawing.Image)(resources.GetObject("lblCompleteAmount.Image")));
			this.lblCompleteAmount.ImageAlign = ((System.Drawing.ContentAlignment)(resources.GetObject("lblCompleteAmount.ImageAlign")));
			this.lblCompleteAmount.ImageIndex = ((int)(resources.GetObject("lblCompleteAmount.ImageIndex")));
			this.lblCompleteAmount.ImeMode = ((System.Windows.Forms.ImeMode)(resources.GetObject("lblCompleteAmount.ImeMode")));
			this.lblCompleteAmount.Location = ((System.Drawing.Point)(resources.GetObject("lblCompleteAmount.Location")));
			this.lblCompleteAmount.Name = "lblCompleteAmount";
			this.lblCompleteAmount.RightToLeft = ((System.Windows.Forms.RightToLeft)(resources.GetObject("lblCompleteAmount.RightToLeft")));
			this.lblCompleteAmount.Size = ((System.Drawing.Size)(resources.GetObject("lblCompleteAmount.Size")));
			this.lblCompleteAmount.TabIndex = ((int)(resources.GetObject("lblCompleteAmount.TabIndex")));
			this.lblCompleteAmount.Text = resources.GetString("lblCompleteAmount.Text");
			this.lblCompleteAmount.TextAlign = ((System.Drawing.ContentAlignment)(resources.GetObject("lblCompleteAmount.TextAlign")));
			this.lblCompleteAmount.Visible = ((bool)(resources.GetObject("lblCompleteAmount.Visible")));
			// 
			// txtCompleteAmount
			// 
			this.txtCompleteAmount.AcceptsEscape = ((bool)(resources.GetObject("txtCompleteAmount.AcceptsEscape")));
			this.txtCompleteAmount.AccessibleDescription = resources.GetString("txtCompleteAmount.AccessibleDescription");
			this.txtCompleteAmount.AccessibleName = resources.GetString("txtCompleteAmount.AccessibleName");
			this.txtCompleteAmount.ValueIsDbNull = false;
			this.txtCompleteAmount.Anchor = ((System.Windows.Forms.AnchorStyles)(resources.GetObject("txtCompleteAmount.Anchor")));
			this.txtCompleteAmount.AutoSize = ((bool)(resources.GetObject("txtCompleteAmount.AutoSize")));
			this.txtCompleteAmount.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("txtCompleteAmount.BackgroundImage")));
			this.txtCompleteAmount.BorderStyle = ((System.Windows.Forms.BorderStyle)(resources.GetObject("txtCompleteAmount.BorderStyle")));
			// 
			// txtCompleteAmount.Calculator
			// 
			this.txtCompleteAmount.Calculator.AccessibleDescription = resources.GetString("txtCompleteAmount.Calculator.AccessibleDescription");
			this.txtCompleteAmount.Calculator.AccessibleName = resources.GetString("txtCompleteAmount.Calculator.AccessibleName");
			this.txtCompleteAmount.Calculator.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("txtCompleteAmount.Calculator.BackgroundImage")));
			this.txtCompleteAmount.Calculator.ButtonFlatStyle = ((System.Windows.Forms.FlatStyle)(resources.GetObject("txtCompleteAmount.Calculator.ButtonFlatStyle")));
			this.txtCompleteAmount.Calculator.DisplayFormat = resources.GetString("txtCompleteAmount.Calculator.DisplayFormat");
			this.txtCompleteAmount.Calculator.Font = ((System.Drawing.Font)(resources.GetObject("txtCompleteAmount.Calculator.Font")));
			this.txtCompleteAmount.Calculator.FormatOnClose = ((bool)(resources.GetObject("txtCompleteAmount.Calculator.FormatOnClose")));
			this.txtCompleteAmount.Calculator.StoredFormat = resources.GetString("txtCompleteAmount.Calculator.StoredFormat");
			this.txtCompleteAmount.Calculator.UIStrings.Content = ((string[])(resources.GetObject("txtCompleteAmount.Calculator.UIStrings.Content")));
			this.txtCompleteAmount.CaseSensitive = ((bool)(resources.GetObject("txtCompleteAmount.CaseSensitive")));
			this.txtCompleteAmount.Culture = ((int)(resources.GetObject("txtCompleteAmount.Culture")));
			this.txtCompleteAmount.CustomFormat = resources.GetString("txtCompleteAmount.CustomFormat");
			this.txtCompleteAmount.DataType = ((System.Type)(resources.GetObject("txtCompleteAmount.DataType")));
			this.txtCompleteAmount.DisplayFormat.CustomFormat = resources.GetString("txtCompleteAmount.DisplayFormat.CustomFormat");
			this.txtCompleteAmount.DisplayFormat.FormatType = ((C1.Win.C1Input.FormatTypeEnum)(resources.GetObject("txtCompleteAmount.DisplayFormat.FormatType")));
			this.txtCompleteAmount.DisplayFormat.Inherit = ((C1.Win.C1Input.FormatInfoInheritFlags)(resources.GetObject("txtCompleteAmount.DisplayFormat.Inherit")));
			this.txtCompleteAmount.DisplayFormat.NullText = resources.GetString("txtCompleteAmount.DisplayFormat.NullText");
			this.txtCompleteAmount.DisplayFormat.TrimEnd = ((bool)(resources.GetObject("txtCompleteAmount.DisplayFormat.TrimEnd")));
			this.txtCompleteAmount.DisplayFormat.TrimStart = ((bool)(resources.GetObject("txtCompleteAmount.DisplayFormat.TrimStart")));
			this.txtCompleteAmount.Dock = ((System.Windows.Forms.DockStyle)(resources.GetObject("txtCompleteAmount.Dock")));
			this.txtCompleteAmount.DropDownFormAlign = ((C1.Win.C1Input.DropDownFormAlignmentEnum)(resources.GetObject("txtCompleteAmount.DropDownFormAlign")));
			this.txtCompleteAmount.EditFormat.CustomFormat = resources.GetString("txtCompleteAmount.EditFormat.CustomFormat");
			this.txtCompleteAmount.EditFormat.FormatType = ((C1.Win.C1Input.FormatTypeEnum)(resources.GetObject("txtCompleteAmount.EditFormat.FormatType")));
			this.txtCompleteAmount.EditFormat.Inherit = ((C1.Win.C1Input.FormatInfoInheritFlags)(resources.GetObject("txtCompleteAmount.EditFormat.Inherit")));
			this.txtCompleteAmount.EditFormat.NullText = resources.GetString("txtCompleteAmount.EditFormat.NullText");
			this.txtCompleteAmount.EditFormat.TrimEnd = ((bool)(resources.GetObject("txtCompleteAmount.EditFormat.TrimEnd")));
			this.txtCompleteAmount.EditFormat.TrimStart = ((bool)(resources.GetObject("txtCompleteAmount.EditFormat.TrimStart")));
			this.txtCompleteAmount.EditMask = resources.GetString("txtCompleteAmount.EditMask");
			this.txtCompleteAmount.EmptyAsNull = ((bool)(resources.GetObject("txtCompleteAmount.EmptyAsNull")));
			this.txtCompleteAmount.Enabled = ((bool)(resources.GetObject("txtCompleteAmount.Enabled")));
			this.txtCompleteAmount.ErrorInfo.BeepOnError = ((bool)(resources.GetObject("txtCompleteAmount.ErrorInfo.BeepOnError")));
			this.txtCompleteAmount.ErrorInfo.ErrorMessage = resources.GetString("txtCompleteAmount.ErrorInfo.ErrorMessage");
			this.txtCompleteAmount.ErrorInfo.ErrorMessageCaption = resources.GetString("txtCompleteAmount.ErrorInfo.ErrorMessageCaption");
			this.txtCompleteAmount.ErrorInfo.ShowErrorMessage = ((bool)(resources.GetObject("txtCompleteAmount.ErrorInfo.ShowErrorMessage")));
			this.txtCompleteAmount.ErrorInfo.ValueOnError = ((object)(resources.GetObject("txtCompleteAmount.ErrorInfo.ValueOnError")));
			this.txtCompleteAmount.Font = ((System.Drawing.Font)(resources.GetObject("txtCompleteAmount.Font")));
			this.txtCompleteAmount.FormatType = ((C1.Win.C1Input.FormatTypeEnum)(resources.GetObject("txtCompleteAmount.FormatType")));
			this.txtCompleteAmount.GapHeight = ((int)(resources.GetObject("txtCompleteAmount.GapHeight")));
			this.txtCompleteAmount.ImeMode = ((System.Windows.Forms.ImeMode)(resources.GetObject("txtCompleteAmount.ImeMode")));
			this.txtCompleteAmount.Increment = ((object)(resources.GetObject("txtCompleteAmount.Increment")));
			this.txtCompleteAmount.InitialSelection = ((C1.Win.C1Input.InitialSelectionEnum)(resources.GetObject("txtCompleteAmount.InitialSelection")));
			this.txtCompleteAmount.Location = ((System.Drawing.Point)(resources.GetObject("txtCompleteAmount.Location")));
			this.txtCompleteAmount.MaskInfo.AutoTabWhenFilled = ((bool)(resources.GetObject("txtCompleteAmount.MaskInfo.AutoTabWhenFilled")));
			this.txtCompleteAmount.MaskInfo.CaseSensitive = ((bool)(resources.GetObject("txtCompleteAmount.MaskInfo.CaseSensitive")));
			this.txtCompleteAmount.MaskInfo.CopyWithLiterals = ((bool)(resources.GetObject("txtCompleteAmount.MaskInfo.CopyWithLiterals")));
			this.txtCompleteAmount.MaskInfo.EditMask = resources.GetString("txtCompleteAmount.MaskInfo.EditMask");
			this.txtCompleteAmount.MaskInfo.EmptyAsNull = ((bool)(resources.GetObject("txtCompleteAmount.MaskInfo.EmptyAsNull")));
			this.txtCompleteAmount.MaskInfo.ErrorMessage = resources.GetString("txtCompleteAmount.MaskInfo.ErrorMessage");
			this.txtCompleteAmount.MaskInfo.Inherit = ((C1.Win.C1Input.MaskInfoInheritFlags)(resources.GetObject("txtCompleteAmount.MaskInfo.Inherit")));
			this.txtCompleteAmount.MaskInfo.PromptChar = ((char)(resources.GetObject("txtCompleteAmount.MaskInfo.PromptChar")));
			this.txtCompleteAmount.MaskInfo.ShowLiterals = ((C1.Win.C1Input.ShowLiteralsEnum)(resources.GetObject("txtCompleteAmount.MaskInfo.ShowLiterals")));
			this.txtCompleteAmount.MaskInfo.StoredEmptyChar = ((char)(resources.GetObject("txtCompleteAmount.MaskInfo.StoredEmptyChar")));
			this.txtCompleteAmount.MaxLength = ((int)(resources.GetObject("txtCompleteAmount.MaxLength")));
			this.txtCompleteAmount.Name = "txtCompleteAmount";
			this.txtCompleteAmount.NullText = resources.GetString("txtCompleteAmount.NullText");
			this.txtCompleteAmount.ParseInfo.CaseSensitive = ((bool)(resources.GetObject("txtCompleteAmount.ParseInfo.CaseSensitive")));
			this.txtCompleteAmount.ParseInfo.CustomFormat = resources.GetString("txtCompleteAmount.ParseInfo.CustomFormat");
			this.txtCompleteAmount.ParseInfo.EmptyAsNull = ((bool)(resources.GetObject("txtCompleteAmount.ParseInfo.EmptyAsNull")));
			this.txtCompleteAmount.ParseInfo.ErrorMessage = resources.GetString("txtCompleteAmount.ParseInfo.ErrorMessage");
			this.txtCompleteAmount.ParseInfo.FormatType = ((C1.Win.C1Input.FormatTypeEnum)(resources.GetObject("txtCompleteAmount.ParseInfo.FormatType")));
			this.txtCompleteAmount.ParseInfo.Inherit = ((C1.Win.C1Input.ParseInfoInheritFlags)(resources.GetObject("txtCompleteAmount.ParseInfo.Inherit")));
			this.txtCompleteAmount.ParseInfo.NullText = resources.GetString("txtCompleteAmount.ParseInfo.NullText");
			this.txtCompleteAmount.ParseInfo.NumberStyle = ((C1.Win.C1Input.NumberStyleFlags)(resources.GetObject("txtCompleteAmount.ParseInfo.NumberStyle")));
			this.txtCompleteAmount.ParseInfo.TrimEnd = ((bool)(resources.GetObject("txtCompleteAmount.ParseInfo.TrimEnd")));
			this.txtCompleteAmount.ParseInfo.TrimStart = ((bool)(resources.GetObject("txtCompleteAmount.ParseInfo.TrimStart")));
			this.txtCompleteAmount.PasswordChar = ((char)(resources.GetObject("txtCompleteAmount.PasswordChar")));
			this.txtCompleteAmount.PostValidation.CaseSensitive = ((bool)(resources.GetObject("txtCompleteAmount.PostValidation.CaseSensitive")));
			this.txtCompleteAmount.PostValidation.ErrorMessage = resources.GetString("txtCompleteAmount.PostValidation.ErrorMessage");
			this.txtCompleteAmount.PostValidation.Inherit = ((C1.Win.C1Input.PostValidationInheritFlags)(resources.GetObject("txtCompleteAmount.PostValidation.Inherit")));
			this.txtCompleteAmount.PostValidation.Validation = ((C1.Win.C1Input.PostValidationTypeEnum)(resources.GetObject("txtCompleteAmount.PostValidation.Validation")));
			this.txtCompleteAmount.PostValidation.Values = ((System.Array)(resources.GetObject("txtCompleteAmount.PostValidation.Values")));
			this.txtCompleteAmount.PostValidation.ValuesExcluded = ((System.Array)(resources.GetObject("txtCompleteAmount.PostValidation.ValuesExcluded")));
			this.txtCompleteAmount.PreValidation.CaseSensitive = ((bool)(resources.GetObject("txtCompleteAmount.PreValidation.CaseSensitive")));
			this.txtCompleteAmount.PreValidation.ErrorMessage = resources.GetString("txtCompleteAmount.PreValidation.ErrorMessage");
			this.txtCompleteAmount.PreValidation.Inherit = ((C1.Win.C1Input.PreValidationInheritFlags)(resources.GetObject("txtCompleteAmount.PreValidation.Inherit")));
			this.txtCompleteAmount.PreValidation.ItemSeparator = resources.GetString("txtCompleteAmount.PreValidation.ItemSeparator");
			this.txtCompleteAmount.PreValidation.PatternString = resources.GetString("txtCompleteAmount.PreValidation.PatternString");
			this.txtCompleteAmount.PreValidation.RegexOptions = ((C1.Win.C1Input.RegexOptionFlags)(resources.GetObject("txtCompleteAmount.PreValidation.RegexOptions")));
			this.txtCompleteAmount.PreValidation.TrimEnd = ((bool)(resources.GetObject("txtCompleteAmount.PreValidation.TrimEnd")));
			this.txtCompleteAmount.PreValidation.TrimStart = ((bool)(resources.GetObject("txtCompleteAmount.PreValidation.TrimStart")));
			this.txtCompleteAmount.PreValidation.Validation = ((C1.Win.C1Input.PreValidationTypeEnum)(resources.GetObject("txtCompleteAmount.PreValidation.Validation")));
			this.txtCompleteAmount.ReadOnly = true;
			this.txtCompleteAmount.RightToLeft = ((System.Windows.Forms.RightToLeft)(resources.GetObject("txtCompleteAmount.RightToLeft")));
			this.txtCompleteAmount.ShowFocusRectangle = ((bool)(resources.GetObject("txtCompleteAmount.ShowFocusRectangle")));
			this.txtCompleteAmount.Size = ((System.Drawing.Size)(resources.GetObject("txtCompleteAmount.Size")));
			this.txtCompleteAmount.TabIndex = ((int)(resources.GetObject("txtCompleteAmount.TabIndex")));
			this.txtCompleteAmount.Tag = ((object)(resources.GetObject("txtCompleteAmount.Tag")));
			this.txtCompleteAmount.TextAlign = ((System.Windows.Forms.HorizontalAlignment)(resources.GetObject("txtCompleteAmount.TextAlign")));
			this.txtCompleteAmount.TrimEnd = ((bool)(resources.GetObject("txtCompleteAmount.TrimEnd")));
			this.txtCompleteAmount.TrimStart = ((bool)(resources.GetObject("txtCompleteAmount.TrimStart")));
			this.txtCompleteAmount.UserCultureOverride = ((bool)(resources.GetObject("txtCompleteAmount.UserCultureOverride")));
			this.txtCompleteAmount.Value = ((object)(resources.GetObject("txtCompleteAmount.Value")));
			this.txtCompleteAmount.VerticalAlign = ((C1.Win.C1Input.VerticalAlignEnum)(resources.GetObject("txtCompleteAmount.VerticalAlign")));
			this.txtCompleteAmount.Visible = ((bool)(resources.GetObject("txtCompleteAmount.Visible")));
			this.txtCompleteAmount.VisibleButtons = ((C1.Win.C1Input.DropDownControlButtonFlags)(resources.GetObject("txtCompleteAmount.VisibleButtons")));
			// 
			// cboRequestType
			// 
			this.cboRequestType.AccessibleDescription = resources.GetString("cboRequestType.AccessibleDescription");
			this.cboRequestType.AccessibleName = resources.GetString("cboRequestType.AccessibleName");
			this.cboRequestType.Anchor = ((System.Windows.Forms.AnchorStyles)(resources.GetObject("cboRequestType.Anchor")));
			this.cboRequestType.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("cboRequestType.BackgroundImage")));
			this.cboRequestType.Dock = ((System.Windows.Forms.DockStyle)(resources.GetObject("cboRequestType.Dock")));
			this.cboRequestType.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
			this.cboRequestType.Enabled = ((bool)(resources.GetObject("cboRequestType.Enabled")));
			this.cboRequestType.Font = ((System.Drawing.Font)(resources.GetObject("cboRequestType.Font")));
			this.cboRequestType.ImeMode = ((System.Windows.Forms.ImeMode)(resources.GetObject("cboRequestType.ImeMode")));
			this.cboRequestType.IntegralHeight = ((bool)(resources.GetObject("cboRequestType.IntegralHeight")));
			this.cboRequestType.ItemHeight = ((int)(resources.GetObject("cboRequestType.ItemHeight")));
			this.cboRequestType.Items.AddRange(new object[] {
																resources.GetString("cboRequestType.Items"),
																resources.GetString("cboRequestType.Items1")});
			this.cboRequestType.Location = ((System.Drawing.Point)(resources.GetObject("cboRequestType.Location")));
			this.cboRequestType.MaxDropDownItems = ((int)(resources.GetObject("cboRequestType.MaxDropDownItems")));
			this.cboRequestType.MaxLength = ((int)(resources.GetObject("cboRequestType.MaxLength")));
			this.cboRequestType.Name = "cboRequestType";
			this.cboRequestType.RightToLeft = ((System.Windows.Forms.RightToLeft)(resources.GetObject("cboRequestType.RightToLeft")));
			this.cboRequestType.Size = ((System.Drawing.Size)(resources.GetObject("cboRequestType.Size")));
			this.cboRequestType.TabIndex = ((int)(resources.GetObject("cboRequestType.TabIndex")));
			this.cboRequestType.Text = resources.GetString("cboRequestType.Text");
			this.cboRequestType.Visible = ((bool)(resources.GetObject("cboRequestType.Visible")));
			this.cboRequestType.SelectedIndexChanged += new System.EventHandler(this.cboRequestType_SelectedIndexChanged);
			// 
			// btnApprove
			// 
			this.btnApprove.AccessibleDescription = resources.GetString("btnApprove.AccessibleDescription");
			this.btnApprove.AccessibleName = resources.GetString("btnApprove.AccessibleName");
			this.btnApprove.Anchor = ((System.Windows.Forms.AnchorStyles)(resources.GetObject("btnApprove.Anchor")));
			this.btnApprove.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("btnApprove.BackgroundImage")));
			this.btnApprove.Dock = ((System.Windows.Forms.DockStyle)(resources.GetObject("btnApprove.Dock")));
			this.btnApprove.Enabled = ((bool)(resources.GetObject("btnApprove.Enabled")));
			this.btnApprove.FlatStyle = ((System.Windows.Forms.FlatStyle)(resources.GetObject("btnApprove.FlatStyle")));
			this.btnApprove.Font = ((System.Drawing.Font)(resources.GetObject("btnApprove.Font")));
			this.btnApprove.Image = ((System.Drawing.Image)(resources.GetObject("btnApprove.Image")));
			this.btnApprove.ImageAlign = ((System.Drawing.ContentAlignment)(resources.GetObject("btnApprove.ImageAlign")));
			this.btnApprove.ImageIndex = ((int)(resources.GetObject("btnApprove.ImageIndex")));
			this.btnApprove.ImeMode = ((System.Windows.Forms.ImeMode)(resources.GetObject("btnApprove.ImeMode")));
			this.btnApprove.Location = ((System.Drawing.Point)(resources.GetObject("btnApprove.Location")));
			this.btnApprove.Name = "btnApprove";
			this.btnApprove.RightToLeft = ((System.Windows.Forms.RightToLeft)(resources.GetObject("btnApprove.RightToLeft")));
			this.btnApprove.Size = ((System.Drawing.Size)(resources.GetObject("btnApprove.Size")));
			this.btnApprove.TabIndex = ((int)(resources.GetObject("btnApprove.TabIndex")));
			this.btnApprove.Text = resources.GetString("btnApprove.Text");
			this.btnApprove.TextAlign = ((System.Drawing.ContentAlignment)(resources.GetObject("btnApprove.TextAlign")));
			this.btnApprove.Visible = ((bool)(resources.GetObject("btnApprove.Visible")));
			this.btnApprove.Click += new System.EventHandler(this.btnApprove_Click);
			// 
			// btnDelete
			// 
			this.btnDelete.AccessibleDescription = resources.GetString("btnDelete.AccessibleDescription");
			this.btnDelete.AccessibleName = resources.GetString("btnDelete.AccessibleName");
			this.btnDelete.Anchor = ((System.Windows.Forms.AnchorStyles)(resources.GetObject("btnDelete.Anchor")));
			this.btnDelete.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("btnDelete.BackgroundImage")));
			this.btnDelete.Dock = ((System.Windows.Forms.DockStyle)(resources.GetObject("btnDelete.Dock")));
			this.btnDelete.Enabled = ((bool)(resources.GetObject("btnDelete.Enabled")));
			this.btnDelete.FlatStyle = ((System.Windows.Forms.FlatStyle)(resources.GetObject("btnDelete.FlatStyle")));
			this.btnDelete.Font = ((System.Drawing.Font)(resources.GetObject("btnDelete.Font")));
			this.btnDelete.Image = ((System.Drawing.Image)(resources.GetObject("btnDelete.Image")));
			this.btnDelete.ImageAlign = ((System.Drawing.ContentAlignment)(resources.GetObject("btnDelete.ImageAlign")));
			this.btnDelete.ImageIndex = ((int)(resources.GetObject("btnDelete.ImageIndex")));
			this.btnDelete.ImeMode = ((System.Windows.Forms.ImeMode)(resources.GetObject("btnDelete.ImeMode")));
			this.btnDelete.Location = ((System.Drawing.Point)(resources.GetObject("btnDelete.Location")));
			this.btnDelete.Name = "btnDelete";
			this.btnDelete.RightToLeft = ((System.Windows.Forms.RightToLeft)(resources.GetObject("btnDelete.RightToLeft")));
			this.btnDelete.Size = ((System.Drawing.Size)(resources.GetObject("btnDelete.Size")));
			this.btnDelete.TabIndex = ((int)(resources.GetObject("btnDelete.TabIndex")));
			this.btnDelete.Text = resources.GetString("btnDelete.Text");
			this.btnDelete.TextAlign = ((System.Drawing.ContentAlignment)(resources.GetObject("btnDelete.TextAlign")));
			this.btnDelete.Visible = ((bool)(resources.GetObject("btnDelete.Visible")));
			this.btnDelete.Click += new System.EventHandler(this.btnDelete_Click);
			// 
			// txtTotalApproval
			// 
			this.txtTotalApproval.AcceptsEscape = ((bool)(resources.GetObject("txtTotalApproval.AcceptsEscape")));
			this.txtTotalApproval.AccessibleDescription = resources.GetString("txtTotalApproval.AccessibleDescription");
			this.txtTotalApproval.AccessibleName = resources.GetString("txtTotalApproval.AccessibleName");
			this.txtTotalApproval.ValueIsDbNull = false;
			this.txtTotalApproval.Anchor = ((System.Windows.Forms.AnchorStyles)(resources.GetObject("txtTotalApproval.Anchor")));
			this.txtTotalApproval.AutoSize = ((bool)(resources.GetObject("txtTotalApproval.AutoSize")));
			this.txtTotalApproval.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("txtTotalApproval.BackgroundImage")));
			this.txtTotalApproval.BorderStyle = ((System.Windows.Forms.BorderStyle)(resources.GetObject("txtTotalApproval.BorderStyle")));
			// 
			// txtTotalApproval.Calculator
			// 
			this.txtTotalApproval.Calculator.AccessibleDescription = resources.GetString("txtTotalApproval.Calculator.AccessibleDescription");
			this.txtTotalApproval.Calculator.AccessibleName = resources.GetString("txtTotalApproval.Calculator.AccessibleName");
			this.txtTotalApproval.Calculator.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("txtTotalApproval.Calculator.BackgroundImage")));
			this.txtTotalApproval.Calculator.ButtonFlatStyle = ((System.Windows.Forms.FlatStyle)(resources.GetObject("txtTotalApproval.Calculator.ButtonFlatStyle")));
			this.txtTotalApproval.Calculator.DisplayFormat = resources.GetString("txtTotalApproval.Calculator.DisplayFormat");
			this.txtTotalApproval.Calculator.Font = ((System.Drawing.Font)(resources.GetObject("txtTotalApproval.Calculator.Font")));
			this.txtTotalApproval.Calculator.FormatOnClose = ((bool)(resources.GetObject("txtTotalApproval.Calculator.FormatOnClose")));
			this.txtTotalApproval.Calculator.StoredFormat = resources.GetString("txtTotalApproval.Calculator.StoredFormat");
			this.txtTotalApproval.Calculator.UIStrings.Content = ((string[])(resources.GetObject("txtTotalApproval.Calculator.UIStrings.Content")));
			this.txtTotalApproval.CaseSensitive = ((bool)(resources.GetObject("txtTotalApproval.CaseSensitive")));
			this.txtTotalApproval.Culture = ((int)(resources.GetObject("txtTotalApproval.Culture")));
			this.txtTotalApproval.CustomFormat = resources.GetString("txtTotalApproval.CustomFormat");
			this.txtTotalApproval.DataType = ((System.Type)(resources.GetObject("txtTotalApproval.DataType")));
			this.txtTotalApproval.DisplayFormat.CustomFormat = resources.GetString("txtTotalApproval.DisplayFormat.CustomFormat");
			this.txtTotalApproval.DisplayFormat.FormatType = ((C1.Win.C1Input.FormatTypeEnum)(resources.GetObject("txtTotalApproval.DisplayFormat.FormatType")));
			this.txtTotalApproval.DisplayFormat.Inherit = ((C1.Win.C1Input.FormatInfoInheritFlags)(resources.GetObject("txtTotalApproval.DisplayFormat.Inherit")));
			this.txtTotalApproval.DisplayFormat.NullText = resources.GetString("txtTotalApproval.DisplayFormat.NullText");
			this.txtTotalApproval.DisplayFormat.TrimEnd = ((bool)(resources.GetObject("txtTotalApproval.DisplayFormat.TrimEnd")));
			this.txtTotalApproval.DisplayFormat.TrimStart = ((bool)(resources.GetObject("txtTotalApproval.DisplayFormat.TrimStart")));
			this.txtTotalApproval.Dock = ((System.Windows.Forms.DockStyle)(resources.GetObject("txtTotalApproval.Dock")));
			this.txtTotalApproval.DropDownFormAlign = ((C1.Win.C1Input.DropDownFormAlignmentEnum)(resources.GetObject("txtTotalApproval.DropDownFormAlign")));
			this.txtTotalApproval.EditFormat.CustomFormat = resources.GetString("txtTotalApproval.EditFormat.CustomFormat");
			this.txtTotalApproval.EditFormat.FormatType = ((C1.Win.C1Input.FormatTypeEnum)(resources.GetObject("txtTotalApproval.EditFormat.FormatType")));
			this.txtTotalApproval.EditFormat.Inherit = ((C1.Win.C1Input.FormatInfoInheritFlags)(resources.GetObject("txtTotalApproval.EditFormat.Inherit")));
			this.txtTotalApproval.EditFormat.NullText = resources.GetString("txtTotalApproval.EditFormat.NullText");
			this.txtTotalApproval.EditFormat.TrimEnd = ((bool)(resources.GetObject("txtTotalApproval.EditFormat.TrimEnd")));
			this.txtTotalApproval.EditFormat.TrimStart = ((bool)(resources.GetObject("txtTotalApproval.EditFormat.TrimStart")));
			this.txtTotalApproval.EditMask = resources.GetString("txtTotalApproval.EditMask");
			this.txtTotalApproval.EmptyAsNull = ((bool)(resources.GetObject("txtTotalApproval.EmptyAsNull")));
			this.txtTotalApproval.Enabled = ((bool)(resources.GetObject("txtTotalApproval.Enabled")));
			this.txtTotalApproval.ErrorInfo.BeepOnError = ((bool)(resources.GetObject("txtTotalApproval.ErrorInfo.BeepOnError")));
			this.txtTotalApproval.ErrorInfo.ErrorMessage = resources.GetString("txtTotalApproval.ErrorInfo.ErrorMessage");
			this.txtTotalApproval.ErrorInfo.ErrorMessageCaption = resources.GetString("txtTotalApproval.ErrorInfo.ErrorMessageCaption");
			this.txtTotalApproval.ErrorInfo.ShowErrorMessage = ((bool)(resources.GetObject("txtTotalApproval.ErrorInfo.ShowErrorMessage")));
			this.txtTotalApproval.ErrorInfo.ValueOnError = ((object)(resources.GetObject("txtTotalApproval.ErrorInfo.ValueOnError")));
			this.txtTotalApproval.Font = ((System.Drawing.Font)(resources.GetObject("txtTotalApproval.Font")));
			this.txtTotalApproval.FormatType = ((C1.Win.C1Input.FormatTypeEnum)(resources.GetObject("txtTotalApproval.FormatType")));
			this.txtTotalApproval.GapHeight = ((int)(resources.GetObject("txtTotalApproval.GapHeight")));
			this.txtTotalApproval.ImeMode = ((System.Windows.Forms.ImeMode)(resources.GetObject("txtTotalApproval.ImeMode")));
			this.txtTotalApproval.Increment = ((object)(resources.GetObject("txtTotalApproval.Increment")));
			this.txtTotalApproval.InitialSelection = ((C1.Win.C1Input.InitialSelectionEnum)(resources.GetObject("txtTotalApproval.InitialSelection")));
			this.txtTotalApproval.Location = ((System.Drawing.Point)(resources.GetObject("txtTotalApproval.Location")));
			this.txtTotalApproval.MaskInfo.AutoTabWhenFilled = ((bool)(resources.GetObject("txtTotalApproval.MaskInfo.AutoTabWhenFilled")));
			this.txtTotalApproval.MaskInfo.CaseSensitive = ((bool)(resources.GetObject("txtTotalApproval.MaskInfo.CaseSensitive")));
			this.txtTotalApproval.MaskInfo.CopyWithLiterals = ((bool)(resources.GetObject("txtTotalApproval.MaskInfo.CopyWithLiterals")));
			this.txtTotalApproval.MaskInfo.EditMask = resources.GetString("txtTotalApproval.MaskInfo.EditMask");
			this.txtTotalApproval.MaskInfo.EmptyAsNull = ((bool)(resources.GetObject("txtTotalApproval.MaskInfo.EmptyAsNull")));
			this.txtTotalApproval.MaskInfo.ErrorMessage = resources.GetString("txtTotalApproval.MaskInfo.ErrorMessage");
			this.txtTotalApproval.MaskInfo.Inherit = ((C1.Win.C1Input.MaskInfoInheritFlags)(resources.GetObject("txtTotalApproval.MaskInfo.Inherit")));
			this.txtTotalApproval.MaskInfo.PromptChar = ((char)(resources.GetObject("txtTotalApproval.MaskInfo.PromptChar")));
			this.txtTotalApproval.MaskInfo.ShowLiterals = ((C1.Win.C1Input.ShowLiteralsEnum)(resources.GetObject("txtTotalApproval.MaskInfo.ShowLiterals")));
			this.txtTotalApproval.MaskInfo.StoredEmptyChar = ((char)(resources.GetObject("txtTotalApproval.MaskInfo.StoredEmptyChar")));
			this.txtTotalApproval.MaxLength = ((int)(resources.GetObject("txtTotalApproval.MaxLength")));
			this.txtTotalApproval.Name = "txtTotalApproval";
			this.txtTotalApproval.NullText = resources.GetString("txtTotalApproval.NullText");
			this.txtTotalApproval.ParseInfo.CaseSensitive = ((bool)(resources.GetObject("txtTotalApproval.ParseInfo.CaseSensitive")));
			this.txtTotalApproval.ParseInfo.CustomFormat = resources.GetString("txtTotalApproval.ParseInfo.CustomFormat");
			this.txtTotalApproval.ParseInfo.EmptyAsNull = ((bool)(resources.GetObject("txtTotalApproval.ParseInfo.EmptyAsNull")));
			this.txtTotalApproval.ParseInfo.ErrorMessage = resources.GetString("txtTotalApproval.ParseInfo.ErrorMessage");
			this.txtTotalApproval.ParseInfo.FormatType = ((C1.Win.C1Input.FormatTypeEnum)(resources.GetObject("txtTotalApproval.ParseInfo.FormatType")));
			this.txtTotalApproval.ParseInfo.Inherit = ((C1.Win.C1Input.ParseInfoInheritFlags)(resources.GetObject("txtTotalApproval.ParseInfo.Inherit")));
			this.txtTotalApproval.ParseInfo.NullText = resources.GetString("txtTotalApproval.ParseInfo.NullText");
			this.txtTotalApproval.ParseInfo.NumberStyle = ((C1.Win.C1Input.NumberStyleFlags)(resources.GetObject("txtTotalApproval.ParseInfo.NumberStyle")));
			this.txtTotalApproval.ParseInfo.TrimEnd = ((bool)(resources.GetObject("txtTotalApproval.ParseInfo.TrimEnd")));
			this.txtTotalApproval.ParseInfo.TrimStart = ((bool)(resources.GetObject("txtTotalApproval.ParseInfo.TrimStart")));
			this.txtTotalApproval.PasswordChar = ((char)(resources.GetObject("txtTotalApproval.PasswordChar")));
			this.txtTotalApproval.PostValidation.CaseSensitive = ((bool)(resources.GetObject("txtTotalApproval.PostValidation.CaseSensitive")));
			this.txtTotalApproval.PostValidation.ErrorMessage = resources.GetString("txtTotalApproval.PostValidation.ErrorMessage");
			this.txtTotalApproval.PostValidation.Inherit = ((C1.Win.C1Input.PostValidationInheritFlags)(resources.GetObject("txtTotalApproval.PostValidation.Inherit")));
			this.txtTotalApproval.PostValidation.Validation = ((C1.Win.C1Input.PostValidationTypeEnum)(resources.GetObject("txtTotalApproval.PostValidation.Validation")));
			this.txtTotalApproval.PostValidation.Values = ((System.Array)(resources.GetObject("txtTotalApproval.PostValidation.Values")));
			this.txtTotalApproval.PostValidation.ValuesExcluded = ((System.Array)(resources.GetObject("txtTotalApproval.PostValidation.ValuesExcluded")));
			this.txtTotalApproval.PreValidation.CaseSensitive = ((bool)(resources.GetObject("txtTotalApproval.PreValidation.CaseSensitive")));
			this.txtTotalApproval.PreValidation.ErrorMessage = resources.GetString("txtTotalApproval.PreValidation.ErrorMessage");
			this.txtTotalApproval.PreValidation.Inherit = ((C1.Win.C1Input.PreValidationInheritFlags)(resources.GetObject("txtTotalApproval.PreValidation.Inherit")));
			this.txtTotalApproval.PreValidation.ItemSeparator = resources.GetString("txtTotalApproval.PreValidation.ItemSeparator");
			this.txtTotalApproval.PreValidation.PatternString = resources.GetString("txtTotalApproval.PreValidation.PatternString");
			this.txtTotalApproval.PreValidation.RegexOptions = ((C1.Win.C1Input.RegexOptionFlags)(resources.GetObject("txtTotalApproval.PreValidation.RegexOptions")));
			this.txtTotalApproval.PreValidation.TrimEnd = ((bool)(resources.GetObject("txtTotalApproval.PreValidation.TrimEnd")));
			this.txtTotalApproval.PreValidation.TrimStart = ((bool)(resources.GetObject("txtTotalApproval.PreValidation.TrimStart")));
			this.txtTotalApproval.PreValidation.Validation = ((C1.Win.C1Input.PreValidationTypeEnum)(resources.GetObject("txtTotalApproval.PreValidation.Validation")));
			this.txtTotalApproval.ReadOnly = true;
			this.txtTotalApproval.RightToLeft = ((System.Windows.Forms.RightToLeft)(resources.GetObject("txtTotalApproval.RightToLeft")));
			this.txtTotalApproval.ShowFocusRectangle = ((bool)(resources.GetObject("txtTotalApproval.ShowFocusRectangle")));
			this.txtTotalApproval.Size = ((System.Drawing.Size)(resources.GetObject("txtTotalApproval.Size")));
			this.txtTotalApproval.TabIndex = ((int)(resources.GetObject("txtTotalApproval.TabIndex")));
			this.txtTotalApproval.Tag = ((object)(resources.GetObject("txtTotalApproval.Tag")));
			this.txtTotalApproval.TextAlign = ((System.Windows.Forms.HorizontalAlignment)(resources.GetObject("txtTotalApproval.TextAlign")));
			this.txtTotalApproval.TrimEnd = ((bool)(resources.GetObject("txtTotalApproval.TrimEnd")));
			this.txtTotalApproval.TrimStart = ((bool)(resources.GetObject("txtTotalApproval.TrimStart")));
			this.txtTotalApproval.UserCultureOverride = ((bool)(resources.GetObject("txtTotalApproval.UserCultureOverride")));
			this.txtTotalApproval.Value = ((object)(resources.GetObject("txtTotalApproval.Value")));
			this.txtTotalApproval.VerticalAlign = ((C1.Win.C1Input.VerticalAlignEnum)(resources.GetObject("txtTotalApproval.VerticalAlign")));
			this.txtTotalApproval.Visible = ((bool)(resources.GetObject("txtTotalApproval.Visible")));
			this.txtTotalApproval.VisibleButtons = ((C1.Win.C1Input.DropDownControlButtonFlags)(resources.GetObject("txtTotalApproval.VisibleButtons")));
			// 
			// lblTotalApproval
			// 
			this.lblTotalApproval.AccessibleDescription = resources.GetString("lblTotalApproval.AccessibleDescription");
			this.lblTotalApproval.AccessibleName = resources.GetString("lblTotalApproval.AccessibleName");
			this.lblTotalApproval.Anchor = ((System.Windows.Forms.AnchorStyles)(resources.GetObject("lblTotalApproval.Anchor")));
			this.lblTotalApproval.AutoSize = ((bool)(resources.GetObject("lblTotalApproval.AutoSize")));
			this.lblTotalApproval.Dock = ((System.Windows.Forms.DockStyle)(resources.GetObject("lblTotalApproval.Dock")));
			this.lblTotalApproval.Enabled = ((bool)(resources.GetObject("lblTotalApproval.Enabled")));
			this.lblTotalApproval.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
			this.lblTotalApproval.Font = ((System.Drawing.Font)(resources.GetObject("lblTotalApproval.Font")));
			this.lblTotalApproval.ForeColor = System.Drawing.Color.Black;
			this.lblTotalApproval.Image = ((System.Drawing.Image)(resources.GetObject("lblTotalApproval.Image")));
			this.lblTotalApproval.ImageAlign = ((System.Drawing.ContentAlignment)(resources.GetObject("lblTotalApproval.ImageAlign")));
			this.lblTotalApproval.ImageIndex = ((int)(resources.GetObject("lblTotalApproval.ImageIndex")));
			this.lblTotalApproval.ImeMode = ((System.Windows.Forms.ImeMode)(resources.GetObject("lblTotalApproval.ImeMode")));
			this.lblTotalApproval.Location = ((System.Drawing.Point)(resources.GetObject("lblTotalApproval.Location")));
			this.lblTotalApproval.Name = "lblTotalApproval";
			this.lblTotalApproval.RightToLeft = ((System.Windows.Forms.RightToLeft)(resources.GetObject("lblTotalApproval.RightToLeft")));
			this.lblTotalApproval.Size = ((System.Drawing.Size)(resources.GetObject("lblTotalApproval.Size")));
			this.lblTotalApproval.TabIndex = ((int)(resources.GetObject("lblTotalApproval.TabIndex")));
			this.lblTotalApproval.Text = resources.GetString("lblTotalApproval.Text");
			this.lblTotalApproval.TextAlign = ((System.Drawing.ContentAlignment)(resources.GetObject("lblTotalApproval.TextAlign")));
			this.lblTotalApproval.Visible = ((bool)(resources.GetObject("lblTotalApproval.Visible")));
			// 
			// PaymentRequestApproval
			// 
			this.AccessibleDescription = resources.GetString("$this.AccessibleDescription");
			this.AccessibleName = resources.GetString("$this.AccessibleName");
			this.AutoScaleBaseSize = ((System.Drawing.Size)(resources.GetObject("$this.AutoScaleBaseSize")));
			this.AutoScroll = ((bool)(resources.GetObject("$this.AutoScroll")));
			this.AutoScrollMargin = ((System.Drawing.Size)(resources.GetObject("$this.AutoScrollMargin")));
			this.AutoScrollMinSize = ((System.Drawing.Size)(resources.GetObject("$this.AutoScrollMinSize")));
			this.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("$this.BackgroundImage")));
			this.CancelButton = this.btnClose;
			this.ClientSize = ((System.Drawing.Size)(resources.GetObject("$this.ClientSize")));
			this.Controls.Add(this.cboRequestType);
			this.Controls.Add(this.txtCompleteAmount);
			this.Controls.Add(this.lblCompleteAmount);
			this.Controls.Add(this.lblRequestType);
			this.Controls.Add(this.txtTotalRequest);
			this.Controls.Add(this.lblTotalRequest);
			this.Controls.Add(this.chkCompleted);
			this.Controls.Add(this.txtAvailableAmount);
			this.Controls.Add(this.lblAvailableAmount);
			this.Controls.Add(this.txtProductionLine);
			this.Controls.Add(this.txtFCode);
			this.Controls.Add(this.txtTransNo);
			this.Controls.Add(this.btnProductionLine);
			this.Controls.Add(this.lblProductionLine);
			this.Controls.Add(this.btnEdit);
			this.Controls.Add(this.btnClose);
			this.Controls.Add(this.btnHelp);
			this.Controls.Add(this.btnSave);
			this.Controls.Add(this.btnAdd);
			this.Controls.Add(this.dtmTransDate);
			this.Controls.Add(this.btnTransNo);
			this.Controls.Add(this.btnGoodsCode);
			this.Controls.Add(this.lblTransNo);
			this.Controls.Add(this.lblPostDate);
			this.Controls.Add(this.lblInvoiceNo);
			this.Controls.Add(this.dgrdData);
			this.Controls.Add(this.dtmDate);
			this.Controls.Add(this.btnApprove);
			this.Controls.Add(this.btnDelete);
			this.Controls.Add(this.txtTotalApproval);
			this.Controls.Add(this.lblTotalApproval);
			this.Enabled = ((bool)(resources.GetObject("$this.Enabled")));
			this.Font = ((System.Drawing.Font)(resources.GetObject("$this.Font")));
			this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
			this.ImeMode = ((System.Windows.Forms.ImeMode)(resources.GetObject("$this.ImeMode")));
			this.KeyPreview = true;
			this.Location = ((System.Drawing.Point)(resources.GetObject("$this.Location")));
			this.MaximumSize = ((System.Drawing.Size)(resources.GetObject("$this.MaximumSize")));
			this.MinimumSize = ((System.Drawing.Size)(resources.GetObject("$this.MinimumSize")));
			this.Name = "PaymentRequestApproval";
			this.RightToLeft = ((System.Windows.Forms.RightToLeft)(resources.GetObject("$this.RightToLeft")));
			this.StartPosition = ((System.Windows.Forms.FormStartPosition)(resources.GetObject("$this.StartPosition")));
			this.Text = resources.GetString("$this.Text");
			this.KeyDown += new System.Windows.Forms.KeyEventHandler(this.PaymentRequestApproval_KeyDown);
			this.Closing += new System.ComponentModel.CancelEventHandler(this.PaymentRequestApproval_Closing);
			this.Load += new System.EventHandler(this.PaymentRequestApproval_Load);
			((System.ComponentModel.ISupportInitialize)(this.dtmTransDate)).EndInit();
			((System.ComponentModel.ISupportInitialize)(this.dgrdData)).EndInit();
			((System.ComponentModel.ISupportInitialize)(this.txtAvailableAmount)).EndInit();
			((System.ComponentModel.ISupportInitialize)(this.dtmDate)).EndInit();
			((System.ComponentModel.ISupportInitialize)(this.txtTotalRequest)).EndInit();
			((System.ComponentModel.ISupportInitialize)(this.txtCompleteAmount)).EndInit();
			((System.ComponentModel.ISupportInitialize)(this.txtTotalApproval)).EndInit();
			this.ResumeLayout(false);

		}
		#endregion

		#region private methods

		/// <summary>
		/// On/Off button based on form mode
		/// </summary>
		private void SwitchFormMode()
		{
			switch (mFormMode)
			{
				case EnumAction.Add:
					dtmTransDate.Enabled = true;
					cboRequestType.Enabled = true;
					btnTransNo.Enabled = false;
					txtTransNo.Enabled = false;
					txtFCode.Enabled = true;
					btnGoodsCode.Enabled = true;
					txtProductionLine.Enabled = true;
					btnProductionLine.Enabled = true;
					btnSave.Enabled = true;
					btnAdd.Enabled = false;
					btnEdit.Enabled = false;
					btnApprove.Enabled = false;
					dgrdData.AllowDelete = true;

					dgrdData.Splits[0].DisplayColumns[PRO_ProductionLineTable.CODE_FLD].Locked = false;
					dgrdData.Splits[0].DisplayColumns[PRO_ProductionLineTable.CODE_FLD].Button = true;
					dgrdData.Splits[0].DisplayColumns[PAY_PaymentRequestDetailTable.REQUESTDATE_FLD].Locked = false;
					dgrdData.Splits[0].DisplayColumns[PAY_PaymentRequestDetailTable.REQUESTAMOUNT_FLD].Locked = false;
					break;
				case EnumAction.Edit:
					dtmTransDate.Enabled = true;
					cboRequestType.Enabled = false;
					btnTransNo.Enabled = false;
					txtTransNo.Enabled = false;
					txtFCode.Enabled = false;
					btnGoodsCode.Enabled = false;
					txtProductionLine.Enabled = false;
					btnProductionLine.Enabled = false;
					btnSave.Enabled = true;
					btnAdd.Enabled = false;
					btnEdit.Enabled = false;
					btnApprove.Enabled = false;
					dgrdData.AllowDelete = true;

					dgrdData.Splits[0].DisplayColumns[PRO_ProductionLineTable.CODE_FLD].Locked = false;
					dgrdData.Splits[0].DisplayColumns[PRO_ProductionLineTable.CODE_FLD].Button = true;
					dgrdData.Splits[0].DisplayColumns[PAY_PaymentRequestDetailTable.REQUESTDATE_FLD].Locked = false;
					dgrdData.Splits[0].DisplayColumns[PAY_PaymentRequestDetailTable.REQUESTAMOUNT_FLD].Locked = false;
					break;
				case EnumAction.Copy:
					btnAdd.Enabled = false;
					btnSave.Enabled = true;
					btnEdit.Enabled = false;
					btnDelete.Enabled = false;
					btnApprove.Enabled = false;
					dgrdData.AllowDelete = false;
					dgrdData.Splits[0].DisplayColumns[PAY_PaymentRequestDetailTable.APPROVALAMOUNT_FLD].Locked = false;
					break;
				default:
					txtTransNo.Enabled = true;
					dtmTransDate.Enabled = false;
					cboRequestType.Enabled = false;
					btnTransNo.Enabled = true;
					txtFCode.Enabled = false;
					btnGoodsCode.Enabled = false;
					txtProductionLine.Enabled = false;
					btnProductionLine.Enabled = false;
					dgrdData.AllowDelete = false;
					foreach (C1DisplayColumn c1Col in dgrdData.Splits[0].DisplayColumns)
					{
						c1Col.Locked = true;
						c1Col.Button = false;
					}
					btnSave.Enabled = false;
					btnAdd.Enabled = true;
					if (txtTransNo.Tag != null)
					{
						btnEdit.Enabled = true;
						btnApprove.Enabled = true;

						if (blnIsCompleted || blnIsApproved)
							btnDelete.Enabled = false;
						else
							btnDelete.Enabled = true;
					}
					else
					{
						btnEdit.Enabled = false;
						btnApprove.Enabled = false;
						btnDelete.Enabled = false;
					}
					break;
			}
		}

		/// <summary>
		/// Loading data to grid and restore grid layout
		/// </summary>
        private void LoadDataToGrid()
		{
		    dgrdData.DataSource = dstData.Tables[0];
		    FormControlComponents.RestoreGridLayout(dgrdData, dtbGridLayOut);

		    foreach (C1DisplayColumn c1Col in dgrdData.Splits[0].DisplayColumns)
		        c1Col.Locked = true;

		    foreach (DataRow drowData in dstData.Tables[0].Rows)
		    {
		        try
		        {
		            if (Convert.ToDecimal(drowData[PAY_EstimateDetailTable.APPROVALAMOUNT_FLD]) > 0)
		            {
		                blnIsApproved = true;
		                break;
		            }
		            else
		                blnIsApproved = false;
		        }
		        catch
		        {
		            blnIsApproved = false;
		        }
		    }

		    dgrdData.Splits[0].DisplayColumns[PRO_ProductionLineTable.CODE_FLD].Button = true;
		    dgrdData.Splits[0].DisplayColumns[PRO_ProductionLineTable.CODE_FLD].Locked = false;

		    dgrdData.Splits[0].DisplayColumns[PAY_PaymentRequestDetailTable.REQUESTAMOUNT_FLD].Locked = false;
		    dgrdData.Columns[PAY_PaymentRequestDetailTable.REQUESTAMOUNT_FLD].NumberFormat = Constants.DECIMAL_LONG_FORMAT;

		    dgrdData.Splits[0].DisplayColumns[PAY_PaymentRequestDetailTable.APPROVALAMOUNT_FLD].Locked = false;
		    dgrdData.Columns[PAY_PaymentRequestDetailTable.APPROVALAMOUNT_FLD].NumberFormat = Constants.DECIMAL_LONG_FORMAT;

		    dgrdData.Columns[PAY_PaymentRequestDetailTable.REQUESTDATE_FLD].Editor = dtmDate;
		    dgrdData.Columns[PAY_PaymentRequestDetailTable.REQUESTDATE_FLD].NumberFormat = Constants.DATETIME_FORMAT_HOUR;
		    dgrdData.Splits[0].DisplayColumns[PAY_PaymentRequestDetailTable.REQUESTDATE_FLD].Style.HorizontalAlignment =
		        AlignHorzEnum.Center;
		}

	    /// <summary>
		/// Clear any data in form
		/// </summary>
		private void ClearData()
		{
			cboRequestType.SelectedIndex = -1;
			txtTransNo.Text = string.Empty;
			txtTransNo.Tag = null;

			txtFCode.Text = string.Empty;
			txtFCode.Tag = null;

			txtProductionLine.Text = string.Empty;
			txtProductionLine.Tag = null;

            txtAvailableAmount.Value = Decimal.Zero;
			txtTotalRequest.Value = Decimal.Zero;
			txtCompleteAmount.Value = Decimal.Zero;

			if (dstData != null && dstData.Tables.Count > 0)
			{
				if (mFormMode == EnumAction.Edit)
				{
					for (int i = dstData.Tables[0].Rows.Count - 1; i >= 0; i--)
						dstData.Tables[0].Rows[i].Delete();
				}
				else
					dstData.Tables[0].Clear();
			}
		}

		/// <summary>
		/// Validate data before saving to database
		/// </summary>
		/// <returns></returns>
		private bool ValidateData()
		{
			// enable if neccessary
			if (!FormControlComponents.CheckDateInCurrentPeriod(DateTime.Parse(dtmTransDate.Value.ToString())))
			{
				PCSMessageBox.Show(ErrorCode.MESSAGE_RGV_POSTDATE_PERIOD);
				dtmTransDate.Focus();
				dtmTransDate.Select();
				return false;
			}
			if (cboRequestType.SelectedIndex < 0)
			{
				PCSMessageBox.Show(ErrorCode.MANDATORY_INVALID, MessageBoxIcon.Warning);
				cboRequestType.Focus();
				return false;
			}
			if (FormControlComponents.CheckMandatory(txtTransNo))
			{
				PCSMessageBox.Show(ErrorCode.MANDATORY_INVALID, MessageBoxIcon.Warning);
				txtTransNo.Focus();
				return false;
			}
			if (FormControlComponents.CheckMandatory(txtFCode))
			{
				PCSMessageBox.Show(ErrorCode.MANDATORY_INVALID, MessageBoxIcon.Warning);
				txtFCode.Focus();
				return false;
			}
			if (FormControlComponents.CheckMandatory(txtProductionLine))
			{
				PCSMessageBox.Show(ErrorCode.MANDATORY_INVALID, MessageBoxIcon.Warning);
				txtProductionLine.Focus();
				return false;
			}
			return true;
		}
		/// <summary>
		/// Saving data on form to database
		/// </summary>
		/// <returns></returns>
		private bool SaveData()
		{
			PAY_PaymentRequestMasterVO voMaster = new PAY_PaymentRequestMasterVO();
			voMaster.SaleOrderDetailID = Convert.ToInt32(txtFCode.Tag);
			voMaster.ProductionLineID = Convert.ToInt32(txtProductionLine.Tag);
			voMaster.TransDate = Convert.ToDateTime(dtmTransDate.Value);
			voMaster.TransNo = txtTransNo.Text.Trim();
			voMaster.RequestType = cboRequestType.SelectedIndex;
			
			switch (mFormMode)
			{
				case EnumAction.Add:
					voMaster.PaymentRequestMasterID = boPayment.AddAndReturnID(voMaster, intEstimateMasterID, dstData);
					break;
				default:
					voMaster.PaymentRequestMasterID = Convert.ToInt32(txtTransNo.Tag);
					boPayment.Update(voMaster, intEstimateMasterID, dstData);
					break;
			}
			txtTransNo.Tag = voMaster.PaymentRequestMasterID;
			return true;
		}
		/// <summary>
		/// Fill Line information
		/// </summary>
		/// <param name="pdrowData"></param>
		private void FillLineInfo(DataRow pdrowData)
		{
			dgrdData.EditActive = true;
			if (pdrowData != null)
			{
				dgrdData.Columns[PRO_ProductionLineTable.PRODUCTIONLINEID_FLD].Value = pdrowData[PRO_ProductionLineTable.PRODUCTIONLINEID_FLD];
				dgrdData.Columns[PRO_ProductionLineTable.CODE_FLD].Value = pdrowData[PRO_ProductionLineTable.CODE_FLD];
			}
			else
			{
				dgrdData.Columns[PRO_ProductionLineTable.PRODUCTIONLINEID_FLD].Value = null;
				dgrdData.Columns[PRO_ProductionLineTable.CODE_FLD].Value = null;
			}
			// reset related fields
			dgrdData.Columns[PAY_PaymentRequestDetailTable.REQUESTDATE_FLD].Value = null;
			dgrdData.Columns[PAY_PaymentRequestDetailTable.REQUESTAMOUNT_FLD].Value = null;
			dgrdData.Columns[PAY_PaymentRequestDetailTable.APPROVALAMOUNT_FLD].Value = null;
		}
		/// <summary>
		/// Fill goods code
		/// </summary>
		/// <param name="pdrowData"></param>
		private void FillFGoodsCode(DataRow pdrowData)
		{
			txtFCode.Text = pdrowData[SO_SaleOrderDetailTable.FGOODSCODE_FLD].ToString();
			txtFCode.Tag = Convert.ToInt32(pdrowData[SO_SaleOrderDetailTable.SALEORDERDETAILID_FLD]);
			dtbEstimateData = boPayment.GetEstimateData(Convert.ToInt32(txtFCode.Tag));
			blnIsCompleted = Convert.ToBoolean(dtbEstimateData.Rows[0][PAY_EstimateMasterTable.COMPLETED_FLD]);
			intEstimateMasterID = Convert.ToInt32(dtbEstimateData.Rows[0][PAY_EstimateMasterTable.ESTIMATEMASTERID_FLD]);
			if (txtProductionLine.Tag != null)
			{
				// check if work order is completed
				chkCompleted.Checked = boPayment.IsWOCompleted(Convert.ToInt32(txtFCode.Tag), Convert.ToInt32(txtProductionLine.Tag));
				// work order complete amount
				txtCompleteAmount.Value = boPayment.GetCompleteAmount(Convert.ToInt32(txtFCode.Tag), Convert.ToInt32(txtProductionLine.Tag));
				// trans no
				txtTransNo.Text = boUtils.GetTransNoByFGoodsCode(txtFCode.Text, txtProductionLine.Text, PAY_PaymentRequestMasterTable.TRANSNO_FLD, PAY_PaymentRequestMasterTable.TABLE_NAME);
				// total available amount
				try
				{
					txtAvailableAmount.Value = Convert.ToDecimal(dtbEstimateData.Compute("SUM(" + PAY_EstimateDetailTable.AMOUNT_FLD + ")",
						PAY_EstimateDetailTable.PRODUCTIONLINEID_FLD + "=" + txtProductionLine.Tag.ToString()));
				}
				catch
				{
					txtAvailableAmount.Value = decimal.Zero;
				}
				// total approval amount
				try
				{
					txtTotalApproval.Value = Convert.ToDecimal(dtbEstimateData.Compute("SUM(" + PAY_EstimateDetailTable.APPROVALAMOUNT_FLD + ")",
						PAY_EstimateDetailTable.PRODUCTIONLINEID_FLD + "=" + txtProductionLine.Tag.ToString()));
				}
				catch
				{
					txtTotalApproval.Value = decimal.Zero;
				}
				// total request amount
				txtTotalRequest.Value = boPayment.GetTotalRequest(Convert.ToInt32(txtFCode.Tag), Convert.ToInt32(txtProductionLine.Tag));
				txtTotalRequest.Tag = boPayment.GetTotalPaymentRequest(Convert.ToInt32(txtFCode.Tag), Convert.ToInt32(txtProductionLine.Tag));
			} 
		}
		/// <summary>
		/// Fill production line
		/// </summary>
		/// <param name="pdrowData"></param>
		private void FillProductionLine(DataRow pdrowData)
		{
			txtProductionLine.Text = pdrowData[PRO_ProductionLineTable.CODE_FLD].ToString();
			txtProductionLine.Tag = Convert.ToInt32(pdrowData[PRO_ProductionLineTable.PRODUCTIONLINEID_FLD]);
			if (txtFCode.Tag != null)
			{
				// check if work order is completed
				chkCompleted.Checked = boPayment.IsWOCompleted(Convert.ToInt32(txtFCode.Tag), Convert.ToInt32(txtProductionLine.Tag));
				// work order complete amount
				txtCompleteAmount.Value = boPayment.GetCompleteAmount(Convert.ToInt32(txtFCode.Tag), Convert.ToInt32(txtProductionLine.Tag));
				// trans no
				txtTransNo.Text = boUtils.GetTransNoByFGoodsCode(txtFCode.Text, txtProductionLine.Text, PAY_PaymentRequestMasterTable.TRANSNO_FLD, PAY_PaymentRequestMasterTable.TABLE_NAME);
				// total available amount
				try
				{
					txtAvailableAmount.Value = Convert.ToDecimal(dtbEstimateData.Compute("SUM(" + PAY_EstimateDetailTable.AMOUNT_FLD + ")",
						PAY_EstimateDetailTable.PRODUCTIONLINEID_FLD + "=" + txtProductionLine.Tag.ToString()));
				}
				catch
				{
					txtAvailableAmount.Value = decimal.Zero;
				}
				// total approval amount
				try
				{
					txtTotalApproval.Value = Convert.ToDecimal(dtbEstimateData.Compute("SUM(" + PAY_EstimateDetailTable.APPROVALAMOUNT_FLD + ")",
						PAY_EstimateDetailTable.PRODUCTIONLINEID_FLD + "=" + txtProductionLine.Tag.ToString()));
				}
				catch
				{
					txtTotalApproval.Value = decimal.Zero;
				}
				// total request amount
				txtTotalRequest.Value = boPayment.GetTotalRequest(Convert.ToInt32(txtFCode.Tag), Convert.ToInt32(txtProductionLine.Tag));
				txtTotalRequest.Tag = boPayment.GetTotalPaymentRequest(Convert.ToInt32(txtFCode.Tag), Convert.ToInt32(txtProductionLine.Tag));
			} 
		}
		/// <summary>
		/// Loading data from master ID
		/// </summary>
		/// <param name="pintMasterID"></param>
		private void LoadDataFromMaster(int pintMasterID)
		{
			// loading master
			PAY_PaymentRequestMasterVO voMaster = (PAY_PaymentRequestMasterVO)boPayment.GetObjectVO(pintMasterID, string.Empty);
			dtmTransDate.Value = voMaster.TransDate;
			txtTransNo.Text = voMaster.TransNo;
			txtTransNo.Tag = voMaster.PaymentRequestMasterID;
			cboRequestType.SelectedIndex = voMaster.RequestType;
			DataRowView drwResult = FormControlComponents.OpenSearchForm(SO_SaleOrderDetailTable.TABLE_NAME, SO_SaleOrderDetailTable.SALEORDERDETAILID_FLD, voMaster.SaleOrderDetailID.ToString(), null, false);
			txtFCode.Text = drwResult[SO_SaleOrderDetailTable.FGOODSCODE_FLD].ToString();
			txtFCode.Tag = voMaster.SaleOrderDetailID;
			dtbEstimateData = boPayment.GetEstimateData(Convert.ToInt32(txtFCode.Tag));
			drwResult = FormControlComponents.OpenSearchForm(PRO_ProductionLineTable.TABLE_NAME, PRO_ProductionLineTable.PRODUCTIONLINEID_FLD, voMaster.ProductionLineID.ToString(), null, false);
			txtProductionLine.Text = drwResult[PRO_ProductionLineTable.CODE_FLD].ToString();
			txtProductionLine.Tag = voMaster.ProductionLineID;
			// check if work order is completed
			chkCompleted.Checked = boPayment.IsWOCompleted(voMaster.SaleOrderDetailID, voMaster.ProductionLineID);
			// available amount
			txtAvailableAmount.Value = boPayment.GetAvailableAmount(voMaster.SaleOrderDetailID, voMaster.ProductionLineID);
			// total approval amount
			try
			{
				txtTotalApproval.Value = Convert.ToDecimal(dtbEstimateData.Compute("SUM(" + PAY_EstimateDetailTable.APPROVALAMOUNT_FLD + ")",
					PAY_EstimateDetailTable.PRODUCTIONLINEID_FLD + "=" + txtProductionLine.Tag.ToString()));
			}
			catch
			{
				txtTotalApproval.Value = decimal.Zero;
			}
			// complete amount
			txtCompleteAmount.Value = boPayment.GetCompleteAmount(Convert.ToInt32(txtFCode.Tag), Convert.ToInt32(txtProductionLine.Tag));
			// loading detail
			dstData = boPayment.List(pintMasterID);
			dstData.Tables[0].Columns[PAY_PaymentRequestDetailTable.PAYMENTREQUESTMASTERID_FLD].DefaultValue = pintMasterID;
			LoadDataToGrid();
			// total request amount
			txtTotalRequest.Value = boPayment.GetTotalRequest(Convert.ToInt32(txtFCode.Tag), Convert.ToInt32(txtProductionLine.Tag));
			txtTotalRequest.Tag = boPayment.GetTotalPaymentRequest(Convert.ToInt32(txtFCode.Tag), Convert.ToInt32(txtProductionLine.Tag));
			dtbEstimateData = boPayment.GetEstimateData(Convert.ToInt32(txtFCode.Tag));
			blnIsCompleted = Convert.ToBoolean(dtbEstimateData.Rows[0][PAY_EstimateMasterTable.COMPLETED_FLD]);
			intEstimateMasterID = Convert.ToInt32(dtbEstimateData.Rows[0][PAY_EstimateMasterTable.ESTIMATEMASTERID_FLD]);

			SwitchFormMode();
		}

		#endregion

		#region Events
		private void PaymentRequestApproval_Load(object sender, EventArgs e)
		{
			const string METHOD_NAME = THIS + ".PaymentRequestApproval_Load()";
			try
			{
				Security objSecurity = new Security();
				this.Name = THIS;
				if (objSecurity.SetRightForUserOnForm(this, SystemProperty.UserName) == 0)
				{
					this.Close();
					PCSMessageBox.Show(ErrorCode.MESSAGE_YOU_HAVE_NO_RIGHT_TO_VIEW, MessageBoxIcon.Warning);
					return;
				}
				
				//get grid layout
				dtbGridLayOut = FormControlComponents.StoreGridLayout(dgrdData);

				dstData = boPayment.List(0);
				LoadDataToGrid();

				txtCompleteAmount.FormatType = FormatTypeEnum.CustomFormat;
				txtCompleteAmount.CustomFormat = Constants.DECIMAL_LONG_FORMAT;

				txtAvailableAmount.FormatType = FormatTypeEnum.CustomFormat;
				txtAvailableAmount.CustomFormat = Constants.DECIMAL_LONG_FORMAT;

				txtTotalRequest.FormatType = FormatTypeEnum.CustomFormat;
				txtTotalRequest.CustomFormat = Constants.DECIMAL_LONG_FORMAT;
				// set default value to avoid exception
				txtTotalRequest.Value = decimal.Zero;
				txtCompleteAmount.Value = decimal.Zero;

				mFormMode = EnumAction.Default;
				SwitchFormMode();
			}
			catch (PCSException ex)
			{
				PCSMessageBox.Show(ex.mCode, MessageBoxIcon.Error);
				try
				{
					Logger.LogMessage(ex.CauseException, METHOD_NAME, Level.ERROR);
				}
				catch
				{
					PCSMessageBox.Show(ErrorCode.LOG_EXCEPTION);
				}
			}
			catch (Exception ex)
			{
				PCSMessageBox.Show(ErrorCode.OTHER_ERROR);
				try
				{
					Logger.LogMessage(ex, METHOD_NAME, Level.ERROR);
				}
				catch
				{
					PCSMessageBox.Show(ErrorCode.LOG_EXCEPTION);
				}
			}
		}

		private void PaymentRequestApproval_KeyDown(object sender, KeyEventArgs e)
		{
			const string METHOD_NAME = THIS + ".PaymentRequestApproval_KeyDown()";
			try
			{
				if (e.KeyCode == Keys.F12)
				{
					// set grid to EditActive mode
					dgrdData.EditActive = true;
					
					//focus on the first cell
					dgrdData.Focus();
					dgrdData.Col = dstData.Tables[0].Columns.IndexOf(PRO_ProductionLineTable.CODE_FLD);
				}
			}
			catch (Exception ex)
			{
				PCSMessageBox.Show(ErrorCode.OTHER_ERROR,MessageBoxIcon.Error);
				// log message.
				try
				{
					Logger.LogMessage(ex, METHOD_NAME, Level.ERROR);
				}
				catch
				{
					PCSMessageBox.Show(ErrorCode.LOG_EXCEPTION,MessageBoxIcon.Error);
				}
			}
		}
		private void txtTransNo_Validating(object sender, CancelEventArgs e)
		{
			const string METHOD_NAME = THIS + ".txtTransNo_Validating()";
			try
			{
				if (txtTransNo.Modified && btnTransNo.Enabled)
				{
					if (txtTransNo.Text.Trim().Equals(string.Empty))
					{
						ClearData();
						return;
					}
					else
					{
						DataRowView drvResult = FormControlComponents.OpenSearchForm(PAY_PaymentRequestMasterTable.TABLE_NAME, PAY_PaymentRequestMasterTable.TRANSNO_FLD, txtTransNo.Text.Trim(), null, false);
						if (drvResult != null)
						{
							txtTransNo.Text = drvResult[PAY_PaymentRequestMasterTable.TRANSNO_FLD].ToString();
							txtTransNo.Tag = Convert.ToInt32(drvResult[PAY_PaymentRequestMasterTable.PAYMENTREQUESTMASTERID_FLD]);
							LoadDataFromMaster(Convert.ToInt32(drvResult[PAY_PaymentRequestMasterTable.PAYMENTREQUESTMASTERID_FLD]));
						}
						else
							e.Cancel = true;
					}
				}
			}
			catch (PCSException ex)
			{
				PCSMessageBox.Show(ex.mCode, MessageBoxIcon.Error);
				try
				{
					Logger.LogMessage(ex.CauseException, METHOD_NAME, Level.ERROR);
				}
				catch
				{
					PCSMessageBox.Show(ErrorCode.LOG_EXCEPTION);
				}
			}
			catch (Exception ex)
			{
				PCSMessageBox.Show(ErrorCode.OTHER_ERROR);
				try
				{
					Logger.LogMessage(ex, METHOD_NAME, Level.ERROR);
				}
				catch
				{
					PCSMessageBox.Show(ErrorCode.LOG_EXCEPTION);
				}
			}
		}

		private void txtTransNo_KeyDown(object sender, KeyEventArgs e)
		{
			const string METHOD_NAME = THIS + ".txtTransNo_KeyDown()";
			try
			{
				if (e.KeyCode == Keys.F4)
					btnTransNo_Click(null, null);
			}
			catch (PCSException ex)
			{
				PCSMessageBox.Show(ex.mCode, MessageBoxIcon.Error);
				try
				{
					Logger.LogMessage(ex.CauseException, METHOD_NAME, Level.ERROR);
				}
				catch
				{
					PCSMessageBox.Show(ErrorCode.LOG_EXCEPTION);
				}
			}
			catch (Exception ex)
			{
				PCSMessageBox.Show(ErrorCode.OTHER_ERROR);
				try
				{
					Logger.LogMessage(ex, METHOD_NAME, Level.ERROR);
				}
				catch
				{
					PCSMessageBox.Show(ErrorCode.LOG_EXCEPTION);
				}
			}
		}

		private void btnTransNo_Click(object sender, EventArgs e)
		{
			const string METHOD_NAME = THIS + ".btnTransNo_Click()";
			try
			{
				DataRowView drvResult = FormControlComponents.OpenSearchForm(PAY_PaymentRequestMasterTable.TABLE_NAME, PAY_PaymentRequestMasterTable.TRANSNO_FLD, txtTransNo.Text.Trim(), null, true);
				if (drvResult != null)
				{
					txtTransNo.Text = drvResult[PAY_PaymentRequestMasterTable.TRANSNO_FLD].ToString();
					txtTransNo.Tag = Convert.ToInt32(drvResult[PAY_PaymentRequestMasterTable.PAYMENTREQUESTMASTERID_FLD]);
					LoadDataFromMaster(Convert.ToInt32(drvResult[PAY_PaymentRequestMasterTable.PAYMENTREQUESTMASTERID_FLD]));
				}
				else
					txtTransNo.Focus();
			}
			catch (PCSException ex)
			{
				PCSMessageBox.Show(ex.mCode, MessageBoxIcon.Error);
				try
				{
					Logger.LogMessage(ex.CauseException, METHOD_NAME, Level.ERROR);
				}
				catch
				{
					PCSMessageBox.Show(ErrorCode.LOG_EXCEPTION);
				}
			}
			catch (Exception ex)
			{
				PCSMessageBox.Show(ErrorCode.OTHER_ERROR);
				try
				{
					Logger.LogMessage(ex, METHOD_NAME, Level.ERROR);
				}
				catch
				{
					PCSMessageBox.Show(ErrorCode.LOG_EXCEPTION);
				}
			}
		}

		private void txtFCode_Validating(object sender, CancelEventArgs e)
		{
			const string METHOD_NAME = THIS + ".txtFCode_Validating()";
			try
			{
				if (txtFCode.Modified)
				{
					if (txtFCode.Text.Trim().Equals(string.Empty))
					{
						txtFCode.Tag = null;
						if (dstData != null)
							dstData.Tables[0].Clear();
						return;
					}
					else
					{
						DataRowView drvResult = FormControlComponents.OpenSearchForm("v_SaleForRequest", SO_SaleOrderDetailTable.FGOODSCODE_FLD, txtFCode.Text, null, false);
						if (drvResult != null)
							FillFGoodsCode(drvResult.Row);
						else
							e.Cancel = true;
					}
				}
			}
			catch (PCSException ex)
			{
				PCSMessageBox.Show(ex.mCode, MessageBoxIcon.Error);
				try
				{
					Logger.LogMessage(ex.CauseException, METHOD_NAME, Level.ERROR);
				}
				catch
				{
					PCSMessageBox.Show(ErrorCode.LOG_EXCEPTION);
				}
			}
			catch (Exception ex)
			{
				PCSMessageBox.Show(ErrorCode.OTHER_ERROR);
				try
				{
					Logger.LogMessage(ex, METHOD_NAME, Level.ERROR);
				}
				catch
				{
					PCSMessageBox.Show(ErrorCode.LOG_EXCEPTION);
				}
			}
		}

		private void txtFCode_KeyDown(object sender, KeyEventArgs e)
		{
			const string METHOD_NAME = THIS + ".()";
			try
			{
				if (e.KeyCode == Keys.F4)
					btnGoodsCode_Click(null, null);
			}
			catch (PCSException ex)
			{
				PCSMessageBox.Show(ex.mCode, MessageBoxIcon.Error);
				try
				{
					Logger.LogMessage(ex.CauseException, METHOD_NAME, Level.ERROR);
				}
				catch
				{
					PCSMessageBox.Show(ErrorCode.LOG_EXCEPTION);
				}
			}
			catch (Exception ex)
			{
				PCSMessageBox.Show(ErrorCode.OTHER_ERROR);
				try
				{
					Logger.LogMessage(ex, METHOD_NAME, Level.ERROR);
				}
				catch
				{
					PCSMessageBox.Show(ErrorCode.LOG_EXCEPTION);
				}
			}
		}

		private void btnGoodsCode_Click(object sender, EventArgs e)
		{
			const string METHOD_NAME = THIS + ".btnGoodsCode_Click()";
			try
			{
				DataRowView drvResult = FormControlComponents.OpenSearchForm("v_SaleForRequest", SO_SaleOrderDetailTable.FGOODSCODE_FLD, txtFCode.Text, null, true);
				if (drvResult != null)
					FillFGoodsCode(drvResult.Row);
				else
					txtFCode.Focus();
			}
			catch (PCSException ex)
			{
				PCSMessageBox.Show(ex.mCode, MessageBoxIcon.Error);
				try
				{
					Logger.LogMessage(ex.CauseException, METHOD_NAME, Level.ERROR);
				}
				catch
				{
					PCSMessageBox.Show(ErrorCode.LOG_EXCEPTION);
				}
			}
			catch (Exception ex)
			{
				PCSMessageBox.Show(ErrorCode.OTHER_ERROR);
				try
				{
					Logger.LogMessage(ex, METHOD_NAME, Level.ERROR);
				}
				catch
				{
					PCSMessageBox.Show(ErrorCode.LOG_EXCEPTION);
				}
			}
		}

		private void txtProductionLine_Validating(object sender, CancelEventArgs e)
		{
			const string METHOD_NAME = THIS + ".txtProductionLine_Validating()";
			try
			{
				if (txtProductionLine.Modified)
				{
					if (txtProductionLine.Text.Trim().Equals(string.Empty))
					{
						txtProductionLine.Tag = null;
						return;
					}
					else
					{
						DataRowView drvResult = FormControlComponents.OpenSearchForm(PRO_ProductionLineTable.TABLE_NAME, PRO_ProductionLineTable.CODE_FLD, txtProductionLine.Text.Trim(), null, false);
						if (drvResult != null)
							FillProductionLine(drvResult.Row);
						else
							e.Cancel = true;
					}
				}
			}
			catch (PCSException ex)
			{
				PCSMessageBox.Show(ex.mCode, MessageBoxIcon.Error);
				try
				{
					Logger.LogMessage(ex.CauseException, METHOD_NAME, Level.ERROR);
				}
				catch
				{
					PCSMessageBox.Show(ErrorCode.LOG_EXCEPTION);
				}
			}
			catch (Exception ex)
			{
				PCSMessageBox.Show(ErrorCode.OTHER_ERROR);
				try
				{
					Logger.LogMessage(ex, METHOD_NAME, Level.ERROR);
				}
				catch
				{
					PCSMessageBox.Show(ErrorCode.LOG_EXCEPTION);
				}
			}
		}

		private void txtProductionLine_KeyDown(object sender, KeyEventArgs e)
		{
			const string METHOD_NAME = THIS + ".txtProductionLine_KeyDown()";
			try
			{
				if (e.KeyCode == Keys.F4)
					btnProductionLine_Click(null, null);
			}
			catch (PCSException ex)
			{
				PCSMessageBox.Show(ex.mCode, MessageBoxIcon.Error);
				try
				{
					Logger.LogMessage(ex.CauseException, METHOD_NAME, Level.ERROR);
				}
				catch
				{
					PCSMessageBox.Show(ErrorCode.LOG_EXCEPTION);
				}
			}
			catch (Exception ex)
			{
				PCSMessageBox.Show(ErrorCode.OTHER_ERROR);
				try
				{
					Logger.LogMessage(ex, METHOD_NAME, Level.ERROR);
				}
				catch
				{
					PCSMessageBox.Show(ErrorCode.LOG_EXCEPTION);
				}
			}
		}

		private void btnProductionLine_Click(object sender, EventArgs e)
		{
			const string METHOD_NAME = THIS + ".btnProductionLine_Click()";
			try
			{
				DataRowView drvResult = FormControlComponents.OpenSearchForm(PRO_ProductionLineTable.TABLE_NAME, PRO_ProductionLineTable.CODE_FLD, txtProductionLine.Text.Trim(), null, true);
				if (drvResult != null)
					FillProductionLine(drvResult.Row);
				else
					txtProductionLine.Focus();
			}
			catch (PCSException ex)
			{
				PCSMessageBox.Show(ex.mCode, MessageBoxIcon.Error);
				try
				{
					Logger.LogMessage(ex.CauseException, METHOD_NAME, Level.ERROR);
				}
				catch
				{
					PCSMessageBox.Show(ErrorCode.LOG_EXCEPTION);
				}
			}
			catch (Exception ex)
			{
				PCSMessageBox.Show(ErrorCode.OTHER_ERROR);
				try
				{
					Logger.LogMessage(ex, METHOD_NAME, Level.ERROR);
				}
				catch
				{
					PCSMessageBox.Show(ErrorCode.LOG_EXCEPTION);
				}
			}
		}

		private void btnAdd_Click(object sender, EventArgs e)
		{
			const string METHOD_NAME = THIS + ".btnAdd_Click()";
			try
			{
				mFormMode = EnumAction.Add;
				SwitchFormMode();
				ClearData();
				dtmTransDate.Value = new UtilsBO().GetDBDate();
				txtTransNo.Focus();
			}
			catch (PCSException ex)
			{
				PCSMessageBox.Show(ex.mCode, MessageBoxIcon.Error);
				try
				{
					Logger.LogMessage(ex.CauseException, METHOD_NAME, Level.ERROR);
				}
				catch
				{
					PCSMessageBox.Show(ErrorCode.LOG_EXCEPTION);
				}
			}
			catch (Exception ex)
			{
				PCSMessageBox.Show(ErrorCode.OTHER_ERROR);
				try
				{
					Logger.LogMessage(ex, METHOD_NAME, Level.ERROR);
				}
				catch
				{
					PCSMessageBox.Show(ErrorCode.LOG_EXCEPTION);
				}
			}
		}

		private void btnSave_Click(object sender, EventArgs e)
		{
			const string METHOD_NAME = THIS + ".btnSave_Click()";
			try
			{
				if (!ValidateData())
					return;
				if (SaveData())
				{
					mFormMode = EnumAction.Default;
					//reload grid form database
					dstData = new DataSet();
					dstData = boPayment.List(Convert.ToInt32(txtTransNo.Tag));
					LoadDataToGrid();
					// total request amount
					txtTotalRequest.Value = boPayment.GetTotalRequest(Convert.ToInt32(txtFCode.Tag), Convert.ToInt32(txtProductionLine.Tag));
					txtTotalRequest.Tag = boPayment.GetTotalPaymentRequest(Convert.ToInt32(txtFCode.Tag), Convert.ToInt32(txtProductionLine.Tag));
					dtbEstimateData = boPayment.GetEstimateData(Convert.ToInt32(txtFCode.Tag));
					blnIsCompleted = Convert.ToBoolean(dtbEstimateData.Rows[0][PAY_EstimateMasterTable.COMPLETED_FLD]);
					intEstimateMasterID = Convert.ToInt32(dtbEstimateData.Rows[0][PAY_EstimateMasterTable.ESTIMATEMASTERID_FLD]);

					PCSMessageBox.Show(ErrorCode.MESSAGE_AFTER_SAVE_DATA);
					SwitchFormMode();
				}
			}
			catch (PCSException ex)
			{
				if (ex.mCode == ErrorCode.DUPLICATE_KEY)
					txtTransNo.Focus();
				PCSMessageBox.Show(ex.mCode, MessageBoxIcon.Error);
				try
				{
					Logger.LogMessage(ex.CauseException, METHOD_NAME, Level.ERROR);
				}
				catch
				{
					PCSMessageBox.Show(ErrorCode.LOG_EXCEPTION);
				}
			}
			catch (Exception ex)
			{
				PCSMessageBox.Show(ErrorCode.OTHER_ERROR);
				try
				{
					Logger.LogMessage(ex, METHOD_NAME, Level.ERROR);
				}
				catch
				{
					PCSMessageBox.Show(ErrorCode.LOG_EXCEPTION);
				}
			}
		}

		private void btnEdit_Click(object sender, EventArgs e)
		{
			const string METHOD_NAME = THIS + ".btnEdit_Click()";
			try
			{
				// assign default value for Master ID
				dstData.Tables[0].Columns[PAY_PaymentRequestDetailTable.PAYMENTREQUESTMASTERID_FLD].DefaultValue = txtTransNo.Tag;
				mFormMode = EnumAction.Edit;
				SwitchFormMode();
				txtTransNo.Focus();
			}
			catch (PCSException ex)
			{
				PCSMessageBox.Show(ex.mCode, MessageBoxIcon.Error);
				try
				{
					Logger.LogMessage(ex.CauseException, METHOD_NAME, Level.ERROR);
				}
				catch
				{
					PCSMessageBox.Show(ErrorCode.LOG_EXCEPTION);
				}
			}
			catch (Exception ex)
			{
				PCSMessageBox.Show(ErrorCode.OTHER_ERROR);
				try
				{
					Logger.LogMessage(ex, METHOD_NAME, Level.ERROR);
				}
				catch
				{
					PCSMessageBox.Show(ErrorCode.LOG_EXCEPTION);
				}
			}
		}

		private void btnClose_Click(object sender, EventArgs e)
		{
			this.Close();
		}

		private void PaymentRequestApproval_Closing(object sender, CancelEventArgs e)
		{
			const string METHOD_NAME = THIS + ".BudgetEstimates_Closing()";
			try
			{
				if (mFormMode != EnumAction.Default)
				{
					DialogResult confirmDialog = PCSMessageBox.Show(ErrorCode.MESSAGE_QUESTION_STORE_INTO_DATABASE, MessageBoxButtons.YesNoCancel, MessageBoxIcon.Question);
					switch (confirmDialog)
					{
						case DialogResult.Yes:
							try
							{
								if (!ValidateData())
									e.Cancel = true;
								else if (!SaveData())
									e.Cancel = true;
							}
							catch
							{
								e.Cancel = true;
							}
							break;
						case DialogResult.No:
							break;
						case DialogResult.Cancel:
							e.Cancel = true;
							break;
					}
				}
			}
			catch (PCSException ex)
			{
				PCSMessageBox.Show(ex.mCode, MessageBoxIcon.Error);
				try
				{
					Logger.LogMessage(ex.CauseException, METHOD_NAME, Level.ERROR);
				}
				catch
				{
					PCSMessageBox.Show(ErrorCode.LOG_EXCEPTION);
				}
			}
			catch (Exception ex)
			{
				PCSMessageBox.Show(ErrorCode.OTHER_ERROR);
				try
				{
					Logger.LogMessage(ex, METHOD_NAME, Level.ERROR);
				}
				catch
				{
					PCSMessageBox.Show(ErrorCode.LOG_EXCEPTION);
				}
			}
		}

		private void dgrdData_KeyDown(object sender, KeyEventArgs e)
		{
			const string METHOD_NAME = THIS + ".dgrdData_KeyDown()";
			try
			{
				if (e.KeyCode == Keys.F4 && btnSave.Enabled == true)
					dgrdData_ButtonClick(null, null);
				if (e.KeyCode == Keys.Delete && dgrdData.RowCount > 0)
				{
					if (btnSave.Enabled && !blnIsCompleted)
					{
						bool blnAllowDelete = true;
						int intRowCount = dgrdData.SelectedRows.Count;
						for (int i = 0; i < intRowCount; i++)
						{
							try
							{
								if (Convert.ToDecimal(dgrdData[dgrdData.SelectedRows[i], PAY_PaymentRequestDetailTable.APPROVALAMOUNT_FLD]) > 0)
								{
									blnAllowDelete = false;
									break;
								}
							}
							catch{}
						}
						if (blnAllowDelete)
							FormControlComponents.DeleteMultiRowsOnTrueDBGrid(dgrdData);
						return;
					}
				}
			}
			catch (PCSException ex)
			{
				PCSMessageBox.Show(ex.mCode, MessageBoxIcon.Error);
				try
				{
					Logger.LogMessage(ex.CauseException, METHOD_NAME, Level.ERROR);
				}
				catch
				{
					PCSMessageBox.Show(ErrorCode.LOG_EXCEPTION);
				}
			}
			catch (Exception ex)
			{
				PCSMessageBox.Show(ErrorCode.OTHER_ERROR);
				try
				{
					Logger.LogMessage(ex, METHOD_NAME, Level.ERROR);
				}
				catch
				{
					PCSMessageBox.Show(ErrorCode.LOG_EXCEPTION);
				}
			}
		}

		private void dgrdData_ButtonClick(object sender, ColEventArgs e)
		{
			const string METHOD_NAME = THIS + ".dgrdData_ButtonClick()";
			try
			{
				DataRowView drwResult = null;
				if (dgrdData.Col == dgrdData.Columns.IndexOf(dgrdData.Columns[PRO_ProductionLineTable.CODE_FLD]))
				{
					if (dgrdData.AddNewMode == AddNewModeEnum.AddNewCurrent)
						drwResult = FormControlComponents.OpenSearchForm(PRO_ProductionLineTable.TABLE_NAME, PRO_ProductionLineTable.CODE_FLD, dgrdData[dgrdData.Row, PRO_ProductionLineTable.CODE_FLD].ToString().Trim(), null, true);
					else
						drwResult = FormControlComponents.OpenSearchForm(PRO_ProductionLineTable.TABLE_NAME, PRO_ProductionLineTable.CODE_FLD, dgrdData.Columns[PRO_ProductionLineTable.CODE_FLD].Value.ToString().Trim(), null, true);

					if (drwResult != null)
					{
						dgrdData.EditActive = true;
						string strProductionLineID = drwResult[PRO_ProductionLineTable.PRODUCTIONLINEID_FLD].ToString();
						if (dstData.Tables[0].Select(PRO_ProductionLineTable.PRODUCTIONLINEID_FLD + "=" + strProductionLineID).Length == 0)
							FillLineInfo(drwResult.Row);
					}
					else
					{
						dgrdData.Col = dgrdData.Splits[0].DisplayColumns.IndexOf(dgrdData.Splits[0].DisplayColumns[PRO_ProductionLineTable.CODE_FLD]);
						dgrdData.Focus();
					}
				}
			}
			catch (PCSException ex)
			{
				PCSMessageBox.Show(ex.mCode, MessageBoxIcon.Error);
				try
				{
					Logger.LogMessage(ex.CauseException, METHOD_NAME, Level.ERROR);
				}
				catch
				{
					PCSMessageBox.Show(ErrorCode.LOG_EXCEPTION);
				}
			}
			catch (Exception ex)
			{
				PCSMessageBox.Show(ErrorCode.OTHER_ERROR);
				try
				{
					Logger.LogMessage(ex, METHOD_NAME, Level.ERROR);
				}
				catch
				{
					PCSMessageBox.Show(ErrorCode.LOG_EXCEPTION);
				}
			}
		}

		private void dgrdData_AfterColUpdate(object sender, ColEventArgs e)
		{
			const string METHOD_NAME = THIS + ".dgrdData_AfterColUpdate()";
			try
			{
				DataRow drwResult = (DataRow) e.Column.DataColumn.Tag;
				if (e.Column.DataColumn.DataField == PRO_ProductionLineTable.CODE_FLD)
				{
					if ((e.Column.DataColumn.Tag == null) ||(dgrdData[dgrdData.Row, PRO_ProductionLineTable.CODE_FLD].ToString() == string.Empty))
						FillLineInfo(null);
					else
					{
						dgrdData.EditActive = true;
						FillLineInfo(drwResult);
					}
				}
				else if (e.Column.DataColumn.DataField == PAY_PaymentRequestDetailTable.REQUESTAMOUNT_FLD)
				{
					// update total request amount
					txtTotalRequest.Value = Convert.ToDecimal(txtTotalRequest.Value) + decDiffAmount;
				}
				else if (e.Column.DataColumn.DataField == PAY_PaymentRequestDetailTable.APPROVALAMOUNT_FLD)
				{
					if (mFormMode == EnumAction.Copy)
						dgrdData[dgrdData.Row, PAY_PaymentRequestDetailTable.USERID_FLD] = SystemProperty.UserID;
				}
			}
			catch (PCSException ex)
			{
				PCSMessageBox.Show(ex.mCode, MessageBoxIcon.Error);
				try
				{
					Logger.LogMessage(ex.CauseException, METHOD_NAME, Level.ERROR);
				}
				catch
				{
					PCSMessageBox.Show(ErrorCode.LOG_EXCEPTION);
				}
			}
			catch (Exception ex)
			{
				PCSMessageBox.Show(ErrorCode.OTHER_ERROR);
				try
				{
					Logger.LogMessage(ex, METHOD_NAME, Level.ERROR);
				}
				catch
				{
					PCSMessageBox.Show(ErrorCode.LOG_EXCEPTION);
				}
			}
		}

		private void dgrdData_BeforeColUpdate(object sender, BeforeColUpdateEventArgs e)
		{
			const string METHOD_NAME = THIS + ".dgrdData_BeforeColUpdate()";
			try
			{
				string strColumnName = e.Column.DataColumn.DataField;
				if (strColumnName == PRO_ProductionLineTable.CODE_FLD)
				{
					if (dgrdData[dgrdData.Row, PRO_ProductionLineTable.CODE_FLD].ToString().Trim() != string.Empty)
					{
						DataRowView drwResult = FormControlComponents.OpenSearchForm("v_ProductionLineNoSecurity", PRO_ProductionLineTable.CODE_FLD, e.Column.DataColumn.Text.Trim(), null, false);
						if (drwResult != null)
							e.Column.DataColumn.Tag = drwResult.Row;
						else
							e.Cancel = true;
					}
				}
				else if (strColumnName == PAY_PaymentRequestDetailTable.REQUESTAMOUNT_FLD)
				{
					if (e.Column.DataColumn.Value.ToString() == string.Empty) return;
					decimal decRequestAmount = 0, decTotalRequest = 0, decTotalAmount = 0;
					decimal decLimit = 0, decWOAmount = 0, decTotalPaymentRequest = 0;
					try
					{
						decTotalRequest = Convert.ToDecimal(txtTotalRequest.Value);
					}
					catch{}
					try
					{
						decTotalAmount = Convert.ToDecimal(txtAvailableAmount.Value);
					}
					catch{}
					try
					{
						decWOAmount = Convert.ToDecimal(txtCompleteAmount.Value);
					}
					catch{}
					try
					{
						decTotalPaymentRequest = Convert.ToDecimal(txtTotalRequest.Tag);
					}
					catch{}
					try
					{
						decRequestAmount = Convert.ToDecimal(e.Column.DataColumn.Value);
						if (decRequestAmount < 0)
						{
							string[] strMsg = new string[]{e.Column.DataColumn.Caption, "0"};
							PCSMessageBox.Show(ErrorCode.MESSAGE_GREATER_THAN, MessageBoxIcon.Warning, strMsg);
							e.Cancel = true;
						}
					}
					catch
					{
						PCSMessageBox.Show(ErrorCode.MESSAGE_INVALID_NUMERIC, MessageBoxIcon.Warning);
						e.Cancel = true;
					}
					if (mFormMode == EnumAction.Edit)
					{
						try
						{
							decDiffAmount = decRequestAmount - Convert.ToDecimal(e.OldValue);
						}
						catch
						{
							decDiffAmount = decRequestAmount;
						}
						decRequestAmount = decDiffAmount;
					}
					else
					{
						for (int i = 0; i < dgrdData.RowCount; i++)
						{
							if (i == dgrdData.Row)
								continue;
							try
							{
								decRequestAmount += Convert.ToDecimal(dgrdData[i, e.Column.DataColumn.DataField]);
							}
							catch{}
						}
					}
					if (cboRequestType.SelectedIndex == (int)RequestType.Payment)
						decLimit = Convert.ToDecimal(dtbEstimateData.Select(PAY_EstimateDetailTable.PRODUCTIONLINEID_FLD + "=" + txtProductionLine.Tag.ToString())[0][PAY_EstimateDetailTable.REQUESTLIMIT_FLD]);
					else
						decLimit = Convert.ToDecimal(dtbEstimateData.Select(PAY_EstimateDetailTable.PRODUCTIONLINEID_FLD + "=" + txtProductionLine.Tag.ToString())[0][PAY_EstimateDetailTable.ADVANCELIMIT_FLD]);
					decimal decRemain = (decTotalAmount * decLimit/100) - decTotalRequest;
					decimal decRemainWO = decWOAmount - decTotalPaymentRequest;
					// Payment Request
					if (cboRequestType.SelectedIndex == (int)RequestType.Payment)
					{
						if (decRequestAmount > decRemain)
						{
							string[] strMsg = new string[]{cboRequestType.SelectedText};
							PCSMessageBox.Show(ErrorCode.MESSAGE_REQUEST_AMOUNT_OVER_TOTAL, MessageBoxIcon.Warning, strMsg);
							e.Cancel = true;
						}
						else if (decRequestAmount > decRemainWO)
						{
							PCSMessageBox.Show(ErrorCode.MESSAGE_REQUEST_AMOUNT_OVER_COMPLETE, MessageBoxIcon.Warning);
							e.Cancel = true;
						}
					}
					else // Advance Request
					{
						if (decRequestAmount > decRemain)
						{
							string[] strMsg = new string[]{cboRequestType.SelectedText};
							PCSMessageBox.Show(ErrorCode.MESSAGE_REQUEST_AMOUNT_OVER_TOTAL, MessageBoxIcon.Warning, strMsg);
							e.Cancel = true;
							e.Cancel = true;
						}
					}
				}
			}
			catch (PCSException ex)
			{
				PCSMessageBox.Show(ex.mCode, MessageBoxIcon.Error);
				try
				{
					Logger.LogMessage(ex.CauseException, METHOD_NAME, Level.ERROR);
				}
				catch
				{
					PCSMessageBox.Show(ErrorCode.LOG_EXCEPTION);
				}
			}
			catch (Exception ex)
			{
				PCSMessageBox.Show(ErrorCode.OTHER_ERROR);
				try
				{
					Logger.LogMessage(ex, METHOD_NAME, Level.ERROR);
				}
				catch
				{
					PCSMessageBox.Show(ErrorCode.LOG_EXCEPTION);
				}
			}
		}

		private void dgrdData_BeforeColEdit(object sender, BeforeColEditEventArgs e)
		{
			const string METHOD_NAME = THIS + ".dgrdData_BeforeColEdit()";
			try
			{
				if (cboRequestType.SelectedIndex < 0)
				{
					PCSMessageBox.Show(ErrorCode.MANDATORY_INVALID, MessageBoxIcon.Warning);
					cboRequestType.Focus();
					e.Cancel = true;
				}
				if (e.Column.DataColumn.DataField == PAY_PaymentRequestDetailTable.REQUESTAMOUNT_FLD)
				{
					if (dgrdData[dgrdData.Row, PRO_ProductionLineTable.CODE_FLD].ToString().Trim() == string.Empty)
					{
						string[] strMsg = new string[]{dgrdData.Columns[PRO_ProductionLineTable.CODE_FLD].Caption,
						dgrdData.Columns[PAY_PaymentRequestDetailTable.REQUESTAMOUNT_FLD].Caption,};
						PCSMessageBox.Show(ErrorCode.MESSAGE_SELECT_ONE_BEFORE_SELECT_ONE, MessageBoxIcon.Warning, strMsg);
						// focus on Line column
						dgrdData.Col = dgrdData.Columns.IndexOf(dgrdData.Columns[PRO_ProductionLineTable.CODE_FLD]);
					}
				}
			}
			catch (PCSException ex)
			{
				PCSMessageBox.Show(ex.mCode, MessageBoxIcon.Error);
				try
				{
					Logger.LogMessage(ex.CauseException, METHOD_NAME, Level.ERROR);
				}
				catch
				{
					PCSMessageBox.Show(ErrorCode.LOG_EXCEPTION);
				}
			}
			catch (Exception ex)
			{
				PCSMessageBox.Show(ErrorCode.OTHER_ERROR);
				try
				{
					Logger.LogMessage(ex, METHOD_NAME, Level.ERROR);
				}
				catch
				{
					PCSMessageBox.Show(ErrorCode.LOG_EXCEPTION);
				}
			}
		}

		private void dgrdData_BeforeInsert(object sender, C1.Win.C1TrueDBGrid.CancelEventArgs e)
		{
			const string METHOD_NAME = THIS + ".dgrdData_BeforeInsert()";
			try
			{
				decimal decAvailable = Convert.ToDecimal(txtAvailableAmount.Value);
				decimal decTotal = 0;
				try
				{
					decTotal = Convert.ToDecimal(txtTotalRequest.Value);
				}
				catch{}
				if (decAvailable < decTotal) 
				{
					PCSMessageBox.Show(ErrorCode.MESSAGE_NOT_ENOUGH_AMOUNT, MessageBoxIcon.Warning);
					e.Cancel = true;
				}
			}
			catch (PCSException ex)
			{
				PCSMessageBox.Show(ex.mCode, MessageBoxIcon.Error);
				try
				{
					Logger.LogMessage(ex.CauseException, METHOD_NAME, Level.ERROR);
				}
				catch
				{
					PCSMessageBox.Show(ErrorCode.LOG_EXCEPTION);
				}
			}
			catch (Exception ex)
			{
				PCSMessageBox.Show(ErrorCode.OTHER_ERROR);
				try
				{
					Logger.LogMessage(ex, METHOD_NAME, Level.ERROR);
				}
				catch
				{
					PCSMessageBox.Show(ErrorCode.LOG_EXCEPTION);
				}
			}
		}
		private void dgrdData_OnAddNew(object sender, System.EventArgs e)
		{
			const string METHOD_NAME = THIS + ".dgrdData_OnAddNew()";
			try
			{
				decimal decAvailable = Convert.ToDecimal(txtAvailableAmount.Value);
				decimal decTotal = 0;
				try
				{
					decTotal = Convert.ToDecimal(txtTotalRequest.Value);
				}
				catch{}
				if (decAvailable < decTotal) 
				{
					PCSMessageBox.Show(ErrorCode.MESSAGE_NOT_ENOUGH_AMOUNT, MessageBoxIcon.Warning);
					return;
				}
			}
			catch (PCSException ex)
			{
				PCSMessageBox.Show(ex.mCode, MessageBoxIcon.Error);
				try
				{
					Logger.LogMessage(ex.CauseException, METHOD_NAME, Level.ERROR);
				}
				catch
				{
					PCSMessageBox.Show(ErrorCode.LOG_EXCEPTION);
				}
			}
			catch (Exception ex)
			{
				PCSMessageBox.Show(ErrorCode.OTHER_ERROR);
				try
				{
					Logger.LogMessage(ex, METHOD_NAME, Level.ERROR);
				}
				catch
				{
					PCSMessageBox.Show(ErrorCode.LOG_EXCEPTION);
				}
			}
		}
		private void dgrdData_RowColChange(object sender, C1.Win.C1TrueDBGrid.RowColChangeEventArgs e)
		{
			const string METHOD_NAME = THIS + ".dgrdData_RowColChange()";
			try
			{
				// check if user select different row
				if (mFormMode == EnumAction.Edit && e.LastRow != dgrdData.Row)
				{
					// allow user to edit request amount
					foreach (C1DisplayColumn c1Col in dgrdData.Splits[0].DisplayColumns)
						c1Col.Locked = true;
					decimal decApprovalAmount = 0;
					try
					{
						decApprovalAmount = Convert.ToDecimal(dgrdData[dgrdData.Row, PAY_PaymentRequestDetailTable.APPROVALAMOUNT_FLD]);
					}
					catch{}
					if (decApprovalAmount == 0)
					{
						dgrdData.Splits[0].DisplayColumns[PAY_PaymentRequestDetailTable.REQUESTAMOUNT_FLD].Locked = false;
						dgrdData.Splits[0].DisplayColumns[PAY_PaymentRequestDetailTable.REQUESTDATE_FLD].Locked = false;
					}
				}
			}
			catch (PCSException ex)
			{
				PCSMessageBox.Show(ex.mCode, MessageBoxIcon.Error);
				try
				{
					Logger.LogMessage(ex.CauseException, METHOD_NAME, Level.ERROR);
				}
				catch
				{
					PCSMessageBox.Show(ErrorCode.LOG_EXCEPTION);
				}
			}
			catch (Exception ex)
			{
				PCSMessageBox.Show(ErrorCode.OTHER_ERROR);
				try
				{
					Logger.LogMessage(ex, METHOD_NAME, Level.ERROR);
				}
				catch
				{
					PCSMessageBox.Show(ErrorCode.LOG_EXCEPTION);
				}
			}
		}
		private void dgrdData_BeforeDelete(object sender, C1.Win.C1TrueDBGrid.CancelEventArgs e)
		{
			const string METHOD_NAME = THIS + ".dgrdData_BeforeDelete()";
			try
			{
				if (dgrdData[dgrdData.Row, PRO_ProductionLineTable.CODE_FLD].ToString() != string.Empty)
				{
					try
					{
						if (Convert.ToDecimal(dgrdData[dgrdData.Row, PAY_PaymentRequestDetailTable.APPROVALAMOUNT_FLD]) > 0)
						{
							//throw error message
							PCSMessageBox.Show(ErrorCode.MESSAGE_WO_CANNOT_DELWOLINE, MessageBoxIcon.Information);
							e.Cancel = true;
						}
					}
					catch{}
				}
			}
			catch (PCSException ex)
			{
				PCSMessageBox.Show(ex.mCode, MessageBoxIcon.Error);
				try
				{
					Logger.LogMessage(ex.CauseException, METHOD_NAME, Level.ERROR);
				}
				catch
				{
					PCSMessageBox.Show(ErrorCode.LOG_EXCEPTION);
				}
			}
			catch (Exception ex)
			{
				PCSMessageBox.Show(ErrorCode.OTHER_ERROR);
				try
				{
					Logger.LogMessage(ex, METHOD_NAME, Level.ERROR);
				}
				catch
				{
					PCSMessageBox.Show(ErrorCode.LOG_EXCEPTION);
				}
			}
		}

		private void btnApprove_Click(object sender, System.EventArgs e)
		{
			const string METHOD_NAME = THIS + ".btnApprove_Click()";
			try
			{
				mFormMode = EnumAction.Copy;
				SwitchFormMode();
			}
			catch (PCSException ex)
			{
				PCSMessageBox.Show(ex.mCode, MessageBoxIcon.Error);
				try
				{
					Logger.LogMessage(ex.CauseException, METHOD_NAME, Level.ERROR);
				}
				catch
				{
					PCSMessageBox.Show(ErrorCode.LOG_EXCEPTION);
				}
			}
			catch (Exception ex)
			{
				PCSMessageBox.Show(ErrorCode.OTHER_ERROR);
				try
				{
					Logger.LogMessage(ex, METHOD_NAME, Level.ERROR);
				}
				catch
				{
					PCSMessageBox.Show(ErrorCode.LOG_EXCEPTION);
				}
			}
		}
		private void btnDelete_Click(object sender, System.EventArgs e)
		{
			const string METHOD_NAME = THIS + ".btnDelete_Click()";
			try
			{
				DialogResult dlgResult = PCSMessageBox.Show(ErrorCode.MESSAGE_DELETE_RECORD, MessageBoxButtons.YesNo, MessageBoxIcon.Question, MessageBoxDefaultButton.Button1);
				if (dlgResult == DialogResult.Yes)
				{
					boPayment.Delete(Convert.ToInt32(txtTransNo.Tag), intEstimateMasterID, Convert.ToInt32(txtProductionLine.Tag), Convert.ToInt32(txtFCode.Tag));

					PCSMessageBox.Show(ErrorCode.MESSAGE_AFTER_SAVE_DATA);
					mFormMode = EnumAction.Default;
					ClearData();
					SwitchFormMode();
				}
			}
			catch (PCSException ex)
			{
				PCSMessageBox.Show(ex.mCode, MessageBoxIcon.Error);
				try
				{
					Logger.LogMessage(ex.CauseException, METHOD_NAME, Level.ERROR);
				}
				catch
				{
					PCSMessageBox.Show(ErrorCode.LOG_EXCEPTION);
				}
			}
			catch (Exception ex)
			{
				PCSMessageBox.Show(ErrorCode.OTHER_ERROR);
				try
				{
					Logger.LogMessage(ex, METHOD_NAME, Level.ERROR);
				}
				catch
				{
					PCSMessageBox.Show(ErrorCode.LOG_EXCEPTION);
				}
			}
		}
		private void cboRequestType_SelectedIndexChanged(object sender, System.EventArgs e)
		{
			const string METHOD_NAME = THIS + ".cboRequestType_SelectedIndexChanged()";
			try
			{
				
			}
			catch (PCSException ex)
			{
				PCSMessageBox.Show(ex.mCode, MessageBoxIcon.Error);
				try
				{
					Logger.LogMessage(ex.CauseException, METHOD_NAME, Level.ERROR);
				}
				catch
				{
					PCSMessageBox.Show(ErrorCode.LOG_EXCEPTION);
				}
			}
			catch (Exception ex)
			{
				PCSMessageBox.Show(ErrorCode.OTHER_ERROR);
				try
				{
					Logger.LogMessage(ex, METHOD_NAME, Level.ERROR);
				}
				catch
				{
					PCSMessageBox.Show(ErrorCode.LOG_EXCEPTION);
				}
			}
		}
		#endregion
	}
}
